Given the expression:
to start solving for x, first we need to move the -g to the other side of the equation. Since it has a negative sign, when we move it, the sign has to change:
Now, we have that -f is multiplying x. When we move it to the other side, f must divide the expression h+g:
therefore, the equation to solve for x is x=(h+g)/-f