If x is the independent variable, we have that y is the dependent variable.
Using function notation, let's say that y is our function, that is, y = f(x).
So we need to isolate the variable y in the equation:
[tex]\begin{gathered} 9x+3y=12 \\ 3y=12-9x \\ y=\frac{12-9x}{3} \\ y=4-3x \end{gathered}[/tex]So our function is:
[tex]f(x)=-3x+4[/tex]