If it's a quadratic we know that it must look like
for some numbers a,b and c. To find these numbers we use the coordinates.
(0,-2) lies on the curve so when x=0, y=-2

(so that solves one of them)
Next (1,0) lies on the curve so when x=1, y=0

Finally (3,10) lies on the curve so when x=3, y=10

So then we have to solve the simultaneous equations to get a and b

These equations have solutions a=1 and b=1 and so we have a=1, b=1, c=-2.
Therefore the equation of the quadratic is 