Final answer:
The speed of the slower cyclist is 2.5 mi/hr and the speed of the faster cyclist is 5 mi/hr.
Step-by-step explanation:
To solve this problem, let's assign variables to represent the speeds of the two cyclists. Let r represent the speed of the slower cyclist. Then, the speed of the faster cyclist is 2r since they cycle 2 times as fast as the other.
We know that distance is equal to speed multiplied by time: d = r * t. For the slower cyclist, the distance traveled in 2 hours is 2r * 2 = 4r. For the faster cyclist, the distance traveled in 2 hours is 2(2r) * 2 = 8r.
Since the total distance between them is 30 miles, we can set up the equation 4r + 8r = 30 to represent this. Simplifying, we get 12r = 30.
Dividing both sides by 12, we find that r = 2.5. Therefore, the speed of the slower cyclist is 2.5 mi/hr and the speed of the faster cyclist is 2(2.5) = 5 mi/hr.