A ship is first seen on a radar screen to be 9 km east of the radar site. Some time later, the ship is at 18 km northwest. What is the displacement of the ship from the first location?

draw the triangle. You have two sides and the included angle. Use the law of cosines.