How To Find Piecewise Function