A ball is moving with a speed of 5 m/s towards a heavy wall which is moving towards the ball with speed 2 m/s as shown in figure. Assuming the collision to be perfectly elastic, find the speed of the ball and speed of the wall immediately after the collision.