A painter needs to measure the height from the ground to the base of a 2nd story window. He props his ladder against the base of the window. He finds the height from one rung of the ladder to the point on the ground below it, and the distance from that point to the base of the ladder. This is shown in the figure.
If XY = 8 inches, WY = 24 inches, and XZ = 48 inches, the height from the ground to the base of the window is how many inches?