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 first ball moves at 50.0 cm/s, and the second ball stops. In what final direction does the first ball move?