For part a, we need to substitute 9 for x.
g(x) = 5 - 2/3(9). Simplify the right side of the equation.
g(x) = 5 - 6.
g(x) = -1
For part b, we need to solve for x by substituting 7 for g(x).
7 = 5 - 2/3x. Subtract 5 from both sides.
2 = -2/3x. Divide each side by -2/3.
-3 = x