We need to find time taken to reach arrow to its maximum.
The path of the arrow can be modeled with the equation [tex]y=-x^2+ 42x-80[/tex] .
Differentiating the given equation w.r.t x and equate it to zero.
[tex]\dfrac{dy}{dx}=-2x + 42 \\\\42 - 2x = 0\\\\x = 21\ seconds[/tex]
Putting value of x = 21 sec in given equation, we get :
[tex]y=-x^2+ 42x-80\\\\y = -(21)^2 + (42\times 21) - 80\\\\y = 361 \ feet[/tex]
Therefore, time taken to reach maximum height is 21 seconds.