A toy T jumps forward or backward. In each forward jump, it moves 5' forward whereas in each backward jump, it moves 2' backward. If in 31 jumps, T moves exactly 15' forward, then what is the difference of the number of forward and backward jumps?
Explanation
Let x be the number of forward jumps and y be the number of backward jumps. We have two equations: x+y=31 and 5x−2y=15. Solving these gives x=20 and y=11, leading to a difference of x−y=9.