Analyze the graph of the quadratic function that contains the points (0,-2), (1,0) and (3,10). Create the equation of the function given the three points.