In ΔWXY, the measure of ∠Y=90°, YX = 40, XW = 41, and WY = 9. What ratio represents the cosine of ∠W?