Please I need help on this question

Step-by-step explanation: i hope this helps :)
Simplifying
g(x) = 5x + -1
Multiply g * x
gx = 5x + -1
Reorder the terms:
gx = -1 + 5x
Solving
gx = -1 + 5x
Solving for variable 'g'.
Move all terms containing g to the left, all other terms to the right.
Divide each side by 'x'.
g = -1x-1 + 5
Simplifying
g = -1x-1 + 5
Reorder the terms:
g = 5 + -1x-1