Check the final answer first, then review the worked steps.
g(2x - 7) = -3(2x - 7) + 10 = -6x + 21 + 10 = -6x + 31