A better analogy:
There are two runners who run together at 10 kmh, one of them suddenly accelerates to 20 kmh and then reduces to 10 kmh. The both continue to run with 10 kmh to the finish line. Will both come at the same time to the finish line. The first ran exactly at 10 kmh, the second ran...