Answer
$$x = 2$$
Work Step by Step
Use distributive property first, according to order of operations:
$$(2)(x) + (2)(-3) + 5x = (8)(x) + (8)(-1)$$
Multiply the terms out to simplify:
$$2x - 6 + 5x = 8x - 8$$
Group like terms:
$$(2x + 5x) - 6 = 8x - 8$$
Combine like terms:
$$7x - 6 = 8x - 8$$
Subtract $8x$ from both sides to isolate the variable to one side of the equation:
$$-x - 6 = -8$$
Add $6$ to both sides of the equation to isolate constants to the other side of the equation:
$$-x = -2$$
Divide each side of the equation by $-1$ to solve for $x$:
$$x = 2$$