Note that the horizontal distance, the vertical distance, and the diagonal brace make a right triangle.
Let x denote the vertical height. Then, since the horizontal distance that the brace spans is 10 ft more than the vertical distance, the horizontal distance is x + 10.
By the Pythagorean Theorem:
x^2 + (x + 10)^2 = 50^2
==> x^2 + x^2 + 20x + 100 = 2500
==> 2x^2 + 20x - 2400 = 0, by setting the right side equal to 0
==> 2(x + 40)(x - 30) = 0, by factoring
==> x = -40 and x = 30, by the zero-product property.
Since the vertical distance cannot be negative, x = 30.
Therefore, the horizontal distance spanned is 30 + 10 = 40 ft and the vertical distance spanned is 30 ft.
I hope this helps!