Two balls of masses 3 kg and 5 kg are moving towards each other with speeds 5 m/s and 3 m/s respectively on a frictionless surface as shown in figure. After collision, the 5 kg ball retraces its path with speed 2 m/s. Find the coefficient of restitution.