Given that,
Velocity of A =3m/s
Velocity of B =5m/s
Angle θ=300
Now,
VAB=√A2+B2+2ABcosθ
VAB=√9+25+30×cos300
VAB=√59.98
VAB=7.7m/s
Now, the velocity of B relative to A
VBA=VAB−VA
VBA=7.7−3
VBA=4.7m/s
of B relative to A is 4.7m/s