Collision takes place along the normal. Therefore the magnitude normal component (vy) of the velocity of the glass ball is changed to v′y=evy just after the collision whereas the horizontal component (vx) of its velocity remains constant due to the absence of any horizontal force
The velocity of the ball just after the impact
=→v+→vx+→vy⇒→v′=v′x^i+v′y^j
where v′x=a;v′y=eb⇒→v′=a^i+eb^j
Therefore the magnitude of the velocity →v′=∣∣→v′∣∣=√a2+e2b2 and the direction is given as
θ=tan−1(vxvy)=tan−1(aeb) to the normal (vertical)