Question 359168
I agree with the other person's methods but the answers are:

uphill: 20

flat: 15

downhill:12

and it works perfectly in all the equations

the mistake was when you multiplied the first and third equations by 5. The flat rate for the first equation should by 20 not 30 (4*6=20)