Plug in both x and y into the general form
Plug in (1,4)
solve for b
Plug in point (2,12)
Now plug in b=4/a into b of
Solve for a
Plug this into with any point also
Solve for b
So the equation is
Check:
Plug in x=1, you should get y=4
works
Plug in x=2, you should get y=12
works