After resting they decided to go for a swim. The depth of the water is w times Dean's height. Dean is x feet taller than Ron. If Ron stands at y feet How deep was the water?
Let's introduce variables:

w - depth of the water;

x - Dean's height;

y - Ron's height.

We are looking for the depth of the water, that is, for the value of the variable w.

According to the conditions of the problem, we build the following equation:

w * x = w * y + w

We move w to the left side and get:

w = w * x - w * y

w = x * w - w * y

w = (x - y) * w

w / w = (x - y)

w = x - y

Now we have an equation that allows us to calculate the depth of the water. All we need is to know the values ​​of the variables x and y.

Let's substitute the known values ​​into the equation and calculate the depth of the water:

w = x - y

w = 7 - 5

w = 2

That is, the depth of the water is 2 feet.