If a traveler makes a journey of 'x' km, another journey of 'y' km and further traveled 'x' km. The total distance covered by the traveler is?

If a traveler makes a journey of 'x' km, another journey of 'y' km and further traveled 'x' km. The total distance covered by the traveler is?

Explanation

The traveler covers:

First journey: x km

Second journey: y km

Third journey: x km

Total distance = x + y + x = 2x + y