[SOLVED] Polynomial Curve Fitting

Hello, the problem I need to do is an even problem, therefore the answer isn't in the back, meaning I won't at least be able to know I did the work right. Anyhow, the problem is:

The graph of a parabola passes through the points (0,1) and (0.5,0.5) and has a horizontal tangent at (0.5,0.5). Fin an equation for the parabola and sketch its graph.

---------------------------

I need to use matrices to come up with a function that fits the points. So, the general equation for a line is:

Using the points I can come up with three equations and then use matrices and elementary row operations to find values for . The problem being, I only have two point. But, because I know the function is a parabola, and there is a horizontal tangent at (0.5,0.5). I can safely assume that (0.5,0.5). I can then use another point that should also be on the polynomial (1,1). I just want to make sure my line of thought here is correct before I put the following matrix in reduced row-echelon form:

Thanks for the input. Basically I am wondering if my initial line of thought and setup of the matrix is correct for the problem. I'd hate to do the problem and get it wrong and not really find out why.