Ball A of mass 0. 5kg moves towards the left at 3 m s^-1 on a smooth track. Then it collides with a stationary ball B of mass 0.4 kg. B moves up the slope and reaches point P(which is 0.3 m above the horizontal track) before it moves down the slope.
Find the speeds of A and B just after the collision.