what is the inverse of the function $g(x)=-3(x + 6)$? $g^{-1}(x)=$

what is the inverse of the function $g(x)=-3(x + 6)$? $g^{-1}(x)=$
Answer
Explanation:
Step1: Replace $g(x)$ with $y$
$y = - 3(x + 6)$
Step2: Swap $x$ and $y$
$x=-3(y + 6)$
Step3: Solve for $y$
First, divide both sides by - 3: $\frac{x}{-3}=y + 6$. Then subtract 6 from both sides: $y=\frac{x}{-3}-6=-\frac{1}{3}x - 6$
Answer:
$-\frac{1}{3}x - 6$