A railway wagon of mass 35t travels along a level track at 15km/h and collides with another wagon of mass 15t travelling in the opposite direction at 20km/h. After impact, the first wagon is seen to travel in direction as before with a velocity of 3km/h. Find the velocity of second wagon?