the situation forms a right triangle:
Since it is a right triangle, we can apply the Pythagorean theorem:
c^2 = a^2 +b ^2
Where:
c= hypotenuse (x)
a & b = the other 2 legs of the triangle ( 7 and 10)
Replacing:
x ^2 = 7^2 + 10^2
x^2 = 49 + 100
x^2 = 149
x = √149
x= 12.21 ft = 12 ft (rounded)