Having trouble with relative motion

A battleship steams due east at 24 km/h. A submarine 4.0 km away fires a torpedo that has a speed of 50 km/h. If the ship is seen 20º east of north, in what direction should the torpedo be fired to hit the ship?

2. Relevant equations

x motion of ship: x = vt

x motion of torpedo: x' - x[itex]_{}0[/itex]' = v[itex]_{}x[/itex]'t

y motion of torpedo: y - y[itex]_{}0[/itex] = v[itex]_{}y[/itex]t

3. The attempt at a solution

The torpedo will hit the ship when its at y = 0, thus solve for t in the y motion equation of the torpedo.

Hint: You must aim the torpedo ahead of the battleship in order for it to arrive where the battleship will be after the torpedo has made its run. You know the speeds of the battleship and the torpedo, as well as the relative bearing of the target from the sub at the moment of firing. You'll have to solve a related rate problem in order to obtain the complete firing solution.

I do not know how to solve this problem by using calculus.In fact you can draw the vectors and solve it geometrically.(I cannot post a picture for you now.If you still cannot work it out,I will reply to you a few days later)

Hint: You must aim the torpedo ahead of the battleship in order for it to arrive where the battleship will be after the torpedo has made its run. You know the speeds of the battleship and the torpedo, as well as the relative bearing of the target from the sub at the moment of firing. You'll have to solve a related rate problem in order to obtain the complete firing solution.

I tried the related-rate way a few posts above but I am not sure if I am doing it right.