I need to rewrite this:

2x-3y=-6 as a function of x

Just solve for y. At the end, change y to f(x).