Point B is 24 m east of A and 12 m north of A. What is the distance AB? What is the displacement from A to B?

Draw the figure. To get distance, use Pythagoras relationship.

To get displacement, add the direction. Use the law of sines to get the angle.