Distance to the farm is 24 miles
Step-by-step explanation:
Time taken by Mike = 0.5 hr
Time taken by Peggy = 2 hrs
Distance is calculated by the equation Distance = Speed × Time
Distance traveled by Mike = (x + 36) × 0.5
Distance traveled by Peggy = x × 2
(x + 36) × 0.5 = 2x
0.5x + 18 = 2x
1.5 x = 18
⇒ x = 18/1.5 = 12 mph
Distance to the farm = 2x = 24 miles