To solve this problem, we can use the formula: distance = speed × time. Let's assume the distance from the city to the village is represented by "d" (in km).
From the given information, (distance) = (speed - 25) × 2 (distance) = speed × 3
By equating these two expressions for distance, (speed - 25) × 2 = speed × 3
Simplifying the equation, 2speed - 50 = 3speed
Rearranging the equation, -speed = -50
Solving for the speed, speed = 50 km/h
Substituting the speed into one of the original equations, (distance) = 50 × 3 (distance) = 150 km
Therefore, the distance from the city to the village is 150 km.