
Al P. answered 05/16/19
Online Mathematics tutor
Let x be the weight of boxes. You have 3 regions to consider, x ≤ 10, 10< x ≤ 50, and 50 < x.
f(x) is the cost function and its output is dollars:
{ 20 if x ≤ 10
f(x) = { 35 if 10 < x ≤ 50
{ 2x-60 if 50 < x
For the last part (2x - 60) I assumed you meant additional $2 for each additional pound over 50.
That works out like this: x-50 = number of additional pounds, 40 is the "base" charge for 50 pounds and up; so we get 2(x-50)+40 = 2x-100+40 = 2x-60. Notice that if you plug in 50 pounds you get 2*50-60 = 40, which is the cost for a 50 pound move.

Al P.
In my check, I should have used a higher weight than 50 pounds as the third part is really only for moves greater than 50 (the middle portion would be used for exactly 50 pounds). Plugging in 60 gives 2(60)-60 = $60, which is the $40 plus $2*(10 pounds over 50)... Just being precise here.05/16/19