Answer:
The value of a is 2
Explanation:
The quadratic equation is

The line of symmetry is x =2.
We know that the graph of quadratic function is a parabola and the line of symmetry of a parabola always passes through the vertex.
The line of symmetry is x =2.
And the x-coordinate of the vertex is

Hence, we have

Thus, the value of a is 2