relative velocity and interception

Ship A sails with velocity (30i+40j) km/h and ship B sails with velocity (15i+12j) km/h . At one instant , the position vector of ship B relative to ship A is (5i+12j) km . Calculate the magnitude and direction of the velocity of ship A relative to ship B . Calculate also the shortest distance between the 2 ships .

My answers :

I found the magnitude of V of A relative to B - 31.76 km/h with a direction of N28.18 E

and the shortest distance - 1.26 km

Am i correct ?

This is the continuation of the question . At the instant when ship A is east of ship B , ship A changes its course but maintain its speed in order to intercept ship B . Find the course that ship A must steer and the time taken to intercept ship B

my answers :

course of A - 283.89 degrees .

time - i am not really sure . I don know the distance between A and B here .