In this case, we have a right triangle with a base of 4 feet, and an hypotenuse of 7 feet.
Using the Pythagorean theorem, we can calculate height of the vertical leg. The theorem is a2 + b2 = c2, where c is the hypotenuse.
In this case, 42 + b2 = c2, which becomes 16 + b2 = 49
We then take the square root of 33 to get b, which is ≅ 5.7 feet