A car A of mass 1500 kg is travelling at 25 m s−1 collides with another car B of mass 1000 kg travelling at 15 m s−1 in the same direction. After collision, the velocity of car A reduces to 20 m s−1. Calculate the velocity of car B after the collision.