Find the inverse of f(x) if f(x) equals (3X + 7)/(X-2)

THanks So much!

In mathematics, an inverse function is a function that undoes another function: If an input x into the function ƒ produces an output y, then putting y into the inverse function g produces the output x, and vice versa. i.e., ƒ(x)=y, and g(y)=x

Now I'll try to solve for "x ="

y=(3x+7)/(x-2)

y(x-2)=3x+7

yx-2y=3x+7

yx-3x-2y=7

x(y-3)-2y=7

x(y-3)=7+2y Divide with (y-3)

x=(7+2y)/(y-3)

Inverse fonction of:
y=(3x+7)/(x-2)

x=(2y+7)/(y-3)