Having a table where x goes

0,1,2 and y goes 6,9,21

How do i make equation . I tried the change of y over x . But im still not getting right answer

there are lots of possibilities with only three points, but a quadratic would be the simplest

y = 3/2 (3x^2-x+4)
will work fine