It's impossible to get a new average speed of 100km/h.
Distance of A to B is 50km/h x 1 hr = 50km
The total distance of A to B and back to A is 50km x2 = 100km
So set the return trip time to X hr, the relationship is
(1hr + Xhr) x 100km/h = 100km
1hr + Xhr = 1hr
Xhr = 0hr
which means I have to instantly jump from B back to A without spending any time for the average speed to become 100km/hr, which is impossible.