The solution for the problem is:
Tan 33(degrees) = opposite/adjacent
Starting off with the submarine, find how far it is from point R.
Tan 21 = 19,000/x
or
19,000/Tan 21= x
x = 49496.69 feet the submarine is from point R.
Now, find how far the tanker is from point R.
Tan 33= 19,000/x
or
19,000/Tan 33 = x
x = 29257.43 feet the tanker is from point R.
Now subtract and the difference would be the answer
= 49496.69 - 29257.43
The tanker and sub are 20239.26 feet away from each other.