Consider the following equation:
$$3x - 2(2x + 4) = x + 10$$
What is the value of x when the equation is solved?