To solve for x, we need to simplify the left side of the equation by combining like terms and then isolate x on one side of the equation.
First, let's combine the like terms:
5x + 3x = 8x
-7 + 27 = 20
So the equation simplifies to:
8x + 20 = 180
Next, let's isolate x by subtracting 20 from both sides:
8x + 20 - 20 = 180 - 20
8x = 160
Finally, we can solve for x by dividing both sides by 8:
8x/8 = 160/8
x = 20
Therefore, the solution for x is 20.