We need the Pythagorean Theorem to solve for the height of the rectangle.
a2 + b2 = c2
The rectangle's diagonal represents the hypotenuse of the right triangle: c = 57
The width of the rectangle represents one of the legs of the right triangle: a = x + 8
The height of the rectangle represents one of the legs of the right triangle: b = x
(x + 8)2 + x2 = 572
x2 + 8x + 8x + 64 + x2 = 3249
2x2 + 16x + 64 = 3249
2x2 + 16x - 3185 = 0
Use the quadratic formula to solve for x. Let a = 2, b = 16, and c = -3185.
x = [-b ± √(b2 - 4ac)] / 2a
x = [-16 ± √(162 - 4(2)(-3185))] / 2(2) ⇒ x = [-16 ± √(256 + 25,480)] / 4 ⇒ x = [-16 ± √(25,736)] / 4
⇒ x ≈ -44.11 or x ≈ 36.11 (negative solution doesn't exist when measuring)
The height of the rectangle is about 36.11 inches.