Answer:
x = number of bar of chocolate
f(x) = 35x 0 < x ≤ 10
f(x) = 32x x > 10
How to use the piecewise function?
If x = 9 ⇒ Use the first function because 9 is ≤ 10
f(x) = 35x
f(9) = 35(9) = P 315.00
If x = 17 ⇒ Use teh second function because 17 > 10
f(x) = 32x
f(17) = 32 (17) = P 544.00
You should do saving turtles because saving turtles is good