We are only interested in the vertical motion of the ball.
The ball remains in air for t=2.2 s, so we can say that it reaches its maximum height in t=1.1 s (half the time) before falling down. This is an uniformly accelerated motion with constant acceleration g=9.81 m/s^2, so the maximum height reached by the balls is given by:
