For point 4. Since -4 is less than zero, that is

then to find f(-4) replace x = -4 into x², like this

For point 5. Since 3 is in the interval

then

Finally, for point 6. Since 12 is greater than 3, that is

then to find f(12) replace x = 12 into 4-x, like this
