On solving these two eq, v= 3.93 mph and tan θ = -4/9 , which gives θ = -23.96 degrees.  This means that boat from A should start in the direction at an angle of 23.96 degrees , measured anticlockwise from east-west direction at a speed  3.93 mph.

For traveling from B to A, the position would be as follows:

This means that the boat from B should start jn the direction at an angle of 43.36 degrees, measured clockwise from the east west direction at a speed of 4.95 miles per hour

 

                                                            ***