A football is thrown in the air. Its path is given by the relation h = -4.9t^2 + 22.54t + 1, where h is the ball's height above the ground, in meters, and t is the time in seconds. How long was the ball in the air?