It is a two dimensional motion. Therefore,
→aBA = acceleration of car B with respect to car A
=→aB−→aA
Here, →aB = acceleration of car
B=4m/s2 (due north)
and →aA = acceleration of car A=2m/s2 (due east)
|→aBA|=√(4)2+(2)2=2√5m/s2
and α=tan−1(42)=tan−1(2)
Thus, →aBAis2√5m/s2 at an angle of α=tan−1(2) from west towards north.