A parabola with equation $y=ax^2+bx+c$ has a vertical line of symmetry at $x=2$ and goes through the two points $(1,1)$ and $(4,-1)$. The quadratic $ax^2 + bx +c$  has two real roots. The greater root is $\sqrt{n}+2$. What is $n$?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
A parabola with equation $y=ax^2+bx+c$ has a vertical line of symmetry at $x=2$ and goes through the two points $(1,1)$ and $(4,-1)$. The quadratic $ax^2 + bx +c$  has two real roots. The greater root is $\sqrt{n}+2$. What is $n$?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
2.5
A parabola with equation $y=ax^2+bx+c$ has a vertical line of symmetry at $x=2$ and goes through the two points $(1,1)$ and $(4,-1)$. The quadratic $ax^2 + bx +c$  has two real roots. The greater root is $\sqrt{n}+2$. What is $n$?
train