Answer:
The time taken by both balls to hit the ground is same and equal to

Step-by-step explanation:
Both the balls are pushed with a horizontal initial velocity. Therefore, the vertical component of initial velocity for both the balls is zero as the balls only have horizontal component of initial velocity.
Now, consider the equation of motion in the vertical direction for each ball.
Consider the upward direction as positive and downward direction as negative.
Ball A:
Given:
Initial vertical velocity is,

The displacement of the ball A is,

Acceleration in the vertical direction is due to gravity,

Therefore, we have the equation of motion as:

Ball B:
Given:
Initial vertical velocity is,

The displacement of the ball A is,

Acceleration in the vertical direction is due to gravity,

Therefore, we have the equation of motion as:

Therefore, the time taken by both the balls is same and equal to
