Answer:
The diver need to walk 188.2m along the ocean floor to the wreckage.
Explanation:
Check the attachment for diagram.
Using SOH, CAH TOA to get the distance the diver need to walk along the ocean floor to the wreckage,
Note that the angle is a right angled triangle with the height of the triangle being the opposite side and the distance needed as the adjacent side.
Using TOA
Tan(theta) = Opposite/Adjacent
Given theta = 12°
Opposite = 40m
Adjacent side = x
Tan12° = 40/x
x = 40/tan12°
x = 188.2m