Simplifying
g(r) = -5r + 13
Multiply g * r
gr = -5r + 13
Reorder the terms:
gr = 13 + -5r
Solving
gr = 13 + -5r
Solving for variable 'g'.
Move all terms containing g to the left, all other terms to the right.
Divide each side by 'r'.
g = 13r-1 + -5
Simplifying
g = 13r-1 + -5
Reorder the terms:
g = -5 + 13r-1