Sarah and James are planning a road trip. Together, they drove a total of 750 miles. Sarah drove 50 miles less than twice the number of miles that James drove. How many miles did each of them drive? Let's think step by step and output the final answer within \boxed{}.
user