how to understand piecewise functions - Search