Hey I have got to do some mechanics questions for monday and i am struggling with a few.

This is one of them:

The velocities of two particlesAandBare (pi-7j)m/s and (5i+qj)m/s respectively. The velocity ofArelative toBis (2i-3j)m/s.

FInd the values of p and q.

Any help would be much appreciated.