Can someone explain to me how you set up this question??

Ship A, sailing due east a 7km/h, sights ship B, 10 km to the southeast when ship B is sailing due north at 5km/h. What is the closest the ships will come to each other? Express the distance to two decimals.