The resultant of vectors A and B has a magnitude of 20 units.A has a magnitude of 8 units, and the angle between A and B is 40o. Calculate the magnitude of B

If we let A = 8i

then we have
(8+|B| cos40°)^2 + (|B| sin40°)^2 = 20^2
|B| = 13.2