Answer
a) $(23m)\hat x+(-27m)\hat y$
b) $-(23m)\hat x+(27m)\hat y$
Work Step by Step
(a) We can express $\vec A-\vec B$ in unit vectors as
$\vec A-\vec B=(25m-2m)\hat x-(-12m-15m)\hat y$
$\vec A-\vec B=(23m)\hat x+(-27m)\hat y$
(b) We can express $\vec B-\vec A$ in unit vectors as
$\vec B-\vec A=-(\vec A-\vec B)$
$\vec B-\vec A=-(23m)\hat x+(27m)\hat y$