This is the last question from my hw

Answer:
m = 9, n = 2
Step-by-step explanation:
Find [tex]f^{-1}[/tex] (x) by letting y = f(x) and rearranging making x the subject, that is
y = mx + n ( subtract n from both sides )
y - n = mx ( divide both sides by m )
[tex]\frac{y-n}{m}[/tex] = x
Change y back into terms of x with x = [tex]f^{-1}[/tex] (x) , then
[tex]f^{-1}[/tex] (x) = [tex]\frac{x-n}{m}[/tex]
Given [tex]f^{-1}[/tex] (x) = g(x) , then
[tex]\frac{x-n}{m}[/tex] = [tex]\frac{x-2}{9}[/tex]
By comparison of the 2 sides
m = 9 and n = 2