Audi A6 3.0 tdi Performance increase (300hp) VS Vw Phaeton 3.0 tdi also 300hp

Hello, How do these vehicles in the title accelerate to 300 hp with the increase in performance? Which V max do the two vehicles have?