The general formula for a parabola is

Since it goes through the origin, you can sub in (0,0) to the equation

So it becomes: So we know that so far the equation is .

Now you have 2 variables "a" and "b" and you have 2 points. Sub those 2 points in to find a and b.