A ball is thrown in the air. The function

h = 30t-5t²

can be used to find the height (h) of the ball in meters after 6 seconds. How long does it take the ball to reach a height of 45 meters?​