A wagon of mass 10 tons moving at a speed of 12 kmph collides with another wagon of mass 8 tons moving on the same track in the same direction at a speed of 10 kmph. If the speed of the first wagon decreases to 8 kmph. Find the speed of the other after collision