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