This cannot be a function of y in terms of x because it fails the vertical line test. If you are trying to graph x in terms of y then begin by considering the degree, is it going to be odd or even, then a general form, such as for example, if a degree three, then plug in all the points.

I suspect that you are reading the points incorrectly, so it's actually (0,0) (1,0) and (2,0). If these are the points, then use a factor for each zero.

I hope this helps. good luck!