y= f(x) = 7 - 2x /3
which gives
x = 7 - 3y / 2
Now , take x = g(y) = 7 - 3y / 2
Hence, we find now
g( f( x ) ) = 7 - 3 (7 - 2x / 3)/2 = x
and
f( g( y )) = 7 - 2 ( 7 - 3y / 2)/3 = y
Now, since
g( f( x ) ) = x and f( g( y )) = y both are overlapping st. lines
Hence, f(x) is invertible and f -1 = g = 7 - 3x / 2 .