Answer:
Let's assume John gets p for each day so his total is 4p. He spends half of that on gas, (4p)/2 = 2p. He has 2p left. Now subtract 5 from 2p for the coffee, and there is 35 left. So 2p - 5 = 35. Right? Now you can solve for p, by simplifying that equation.
Explanation: