f(x)=2-9x find f^-1(6)

I assume you mean the inverse.

y=2-9x
2-y=9x

leads to
inverse=2/9-x/9

so inverse(6)=2/9-4/9=-2/9 check that.