A man walks 5 miles in a direction 30 degrees north of east. He then walks a distance x miles due east. He turns around to look back at his starting point, which is at an angle of 10 degrees south of west. What is x and how far is he from his starting point?