Let's break down the movements of X and Y step by step:
- X travels parallel to the east for 7 km.
- Y turns left, which means Y changes direction by 90 degrees counterclockwise.
- After turning left, Y covers a distance of 2 km in the new direction.
- X turns right, which means X changes direction by 90 degrees clockwise.
- After turning right, X covers a distance of 5 km in the new direction.
To calculate the total distance covered by both X and Y, we can add up the distances traveled by each:
Distance covered by X = 7 km + 5 km = 12 km Distance covered by Y = 2 km
Total distance covered by both X and Y = Distance covered by X + Distance covered by Y = 12 km + 2 km = 14 km
Therefore, both X and Y cover a total distance of 14 kilometers.