okay i dont know why, this may be extremely easy but i'm just not getting the right answer

Here's the question:

richmond is 200 kilometers due east of Teratown and Hamilton is 150 kilometers directly north of Teratown. Find the shortest distance in kilometers between Hamilton and Richmond.

I use law of cosines right? and so what would the equation look like?