f = If(x < -3, 2, If[-3 < x < 2, 2 * x + 5, -0.25 * x^(2) + 10])