What is the maximum value of the function

Answer:
[tex]10[/tex]
Step-by-step explanation:
[tex]f(x)=-x^2+6x+1[/tex]
x coordinate:
[tex]\frac{-b}{2a}[/tex]
[tex]a=-1\\b=6[/tex]
[tex]\frac{-6}{2(-1)} \\\frac{-6}{-2}\\ =3[/tex]
y-coordinate:
[tex]f(3)=-(3)^2+6(3)+1\\f(3)=-9+18+1\\f(3)=10[/tex]