Let
\[f(x) = \frac{-px - 3}{-qx + 3},\]and let $g(x)$ be the inverse of $f(x).$  If $(7,-22)$ lies on both of the graphs of $y = f(x)$ and $y = g(x),$ then find $p + q.$
Question:
Let
\[f(x) = \frac{-px - 3}{-qx + 3},\]and let $g(x)$ be the inverse of $f(x).$  If $(7,-22)$ lies on both of the graphs of $y = f(x)$ and $y = g(x),$ then find $p + q.$
Answer:
Let's think step by step.

user
\frac{36}{11}
Let
\[f(x) = \frac{-px - 3}{-qx + 3},\]and let $g(x)$ be the inverse of $f(x).$  If $(7,-22)$ lies on both of the graphs of $y = f(x)$ and $y = g(x),$ then find $p + q.$
train