As here question is incomplete, so i am assuming that we have to find the total time to cover 20 reach to the person.
In the first move, person is moving away, so distance move
Distance covered in the return journey
So, in the first move, net distance covered
So, again he will move in forward direction, so time taken to cover 30 m at 20m/sec speed
Hence total time taken to reach to the person who is standing
Comments