Answer:
w = 8
Step-by-step explanation:
Based on the altitude theorem of a right triangle, we have:
w + 4 = √(24*6)
w + 4 = √144
w + 4 = 12
w + 4 - 4 = 12 - 4