Practice: piecewise functions

Question

Answer