You can put this solution on YOUR website! The general equation is:
You are given 3 points:
(-1,2), (1,2) and the vertex, (0,1)
-----------------------------------
The x-value of the vertex is:
----------------------------
So I have:
--------------------------
(-1,2)
(1,2)
---------------------------
(0,1)
---------------------------
---------------------------
----------------------------
Here's the plot: