90°
°

B's angle from the positive x-axis, counter-clockwise.

Challenge

A is 4 units along the x-axis and B is 3 units long, placed tip to tail. Turn B until the resultant R is exactly 5 long.

|R|= 6.08