Two cars A and B cross a point P with velocities 10/m and 15 m/s. After that, they move with different uniform accelerations and the car A overtakes B with a speed of 25 ms-1. What is velocity of B at that instant?