Mark leaves City P at 6:00 AM traveling towards City Q at a constant speed of 40 miles per hour. Nancy leaves City Q at 7:00 AM traveling towards City P at a constant speed of 50 miles per hour. The distance between City P and City Q is 310 miles. At what distance from City P do they meet?