Domingo and Yadira agree to meet at their favorite restaurant. Domingo drives 5 miles east and then drives 12 miles north to get to the restaurant. Yadira drives 6 miles west and then drives 8 miles north to get to the restaurant. How far apart in miles were Domingo and Yadira before they both drove to the restaurant?