To solve for x, we need to isolate x on one side of the equation.
First, let's add 7 to both sides of the equation to get rid of the -7 on the right side:
5 - 6x + 7 = -7 + 7
5 - 6x + 7 = 0
Combine like terms:
12 - 6x = 0
Now, let's subtract 12 from both sides of the equation to get rid of the 12 on the left side:
12 - 6x - 12 = 0 - 12
-6x = -12
Finally, divide both sides of the equation by -6 to solve for x:
-6x/-6 = -12/-6
x = 2