Let  be the unit vectors along east and south.
The velocity of ship P, Â Â Â Â
The velocity of ship Q, Â Â Â
        Â
∴      Â
and              Â
Thus the velocity of ship Q w.r.t. P is 50 km/hr due 37° west of south.
Velocity of ship A,
Velocity of ship B, Â Â Â
The relative velocity of B w.r.t. A is,
     Â
Magnitude of velocity is given by,Â
∴   Â
and  Â
So, relative velocity of B w.r.t. A is 25.6 km/h due Â
The distance between two ships after 5 hours,Â
     S = Vt
       = 25.6 x 5
       = 128km.
Let the velocity of ejecting gases with respect to ground be  .Â
Velocity of jet plane, Â Â
Velocity of ejected products w.r.t. jet plane,Â
       Â
Now, relative velocity of ejecting gases w.r.t the jet plane is given by,Â
             Â
             Â
                 Â