My learning on Piecewise Functions