write a formula for quadratic function if its graph has the vertex at point (0,6) and passes through the point (-1, -2). will give brainly