Two identical balls have a glancing collision. Ball A is moving at 10m/s and ball B is at rest. Ball A moves in a direction of 37° above the original moving direction after the collision. Ball B moves perpendicular to ball A after the collision. Find the speed of each ball.