If it's not what You are looking for type in the equation solver your own equation and let us solve it.
4x+39=87
We move all terms to the left:
4x+39-(87)=0
We add all the numbers together, and all the variables
4x-48=0
We move all terms containing x to the left, all other terms to the right
4x=48
x=48/4
x=12