A billiard ball is moving in the x direction at 30.0 cm/s and strikes another billiard ball moving in the y direction at 40.0 cm/s. As a result of the collision, the second ball moves at 50.0 cm/s, and the first ball stops. In what final direction does the second ball move?