The grasshopper, the frog and the mouse had a jumping contest. The grasshopper jumped w inches. The grasshopper jumped x inches farther than the frog and the mouse jumped y inches lesser than the frog. How far did the mouse jump?
The frog jumped f inches.

The grasshopper jumped w inches.

The grasshopper jumped x inches farther than the frog.

The mouse jumped y inches lesser than the frog.

Now we have four equations with four unknowns.

f + y = m

w + x = f

w = f - x

f = w + x

From the first and the second equation we get:

m = w + x

From the third and the fourth equation we get:

m = 2w

Now we have two equations with two unknowns.

w + x = 2w

m = 2w

From the first equation we get:

x = w

From the second equation we get:

m = 2w

Now we have two equations with two unknowns.

x = w

m = 2w

From the first equation we get:

w = x

From the second equation we get:

m = 2x

Now we have two equations with two unknowns.

w = x

m = 2x

The mouse jumped