Peter and Rhea lives some distance apart from each other, separated by a straight road. They both take out their cars and start driving at the same time with the same speed towards each other's home.
After some time, their cars meet at 500 miles away from Peter's house. They keep driving and reach at each other's home. Without stopping by, they turn back and start driving again. This time, they meet 300 miles away from each other's home.
What is the distance between their houses?