Answer:

Step-by-step explanation:We start with the total time t and we define it like this

being
the time he was on x speed and
the time he was on y speed
Now for the distance we have the velocity equation
and in this excercise we would have the two equations


then


Next

this we simplify to get
