Ummm, I would do a computer drawing but I don't know how to.
From North to South (clockwise), it's 180 degrees...right?
Boat B is at a bearing of 150 degrees.
Therefore, from Boat B to South...there is 30 degrees.
According to qn, Boat A is west. Therefore, from south to west there is 90 deg...