Your answer is B. cos W = 13/16
This is because, if you picture the triangle formed by the ladder and the wall, you get that the ladder would be the hypotenuse, and the wall would be adjacent to angle W. This means you have to use the trigonometric value that involves the hypotenuse and the adjacent, which would be cos, because CAH.
I hope this helps!