Answer:
Both balls will hit the ground at the same time, because gravity is constant.
Step-by-step explanation:
Notice that both balls are being thrown at the same initial height.
It's important to know that these movements which depends of gravity (a constant acceleratio) they would fall at the same rythm, because the gravity is a constant.
Remember that gravity is an acceleration, which it's defined as the change of the velocity, so if both balls change their vertical velocity at the same rate, then they will fall at the same time, because they have the same initial height.
Additionally, when you throw a ball horizontally, it will bend down due to gravity, and this falling movement is the same as if you throw vertically as a free falling movement.
Therefore, both balls will hit the ground at the same time, because gravity is constant.