Have a look at the solution here. Hope it helps.
https://www.varsitytutors.com/hotmath/hotmath_help/topics/axis-of-symmetry-of-a-parabola
essayhave writer