Answer
$x=-\frac{1}{2}$
Work Step by Step
$$\begin{align*}
-12x+12&=18 &\text{Combine like terms.}\\
-12x+12-12&=18-12 &\text{Subtract 12 from each side.}\\
-12x&=6 &\text{Simplify.}\\
\frac{-12x}{-12}&=\frac{6}{-12} &\text{Divide -12 to both sides.}\\
x&=-\frac{1}{2} &\text{Simplify.}
\end{align*}$$
Check the answer by substituting $-\frac{1}{2}$ to the variable $x$ in the given equation.
$$\begin{align*}
-2x-10x+12&=18\\
-2\left(-\frac{1}{2}\right)-10\left(-\frac{1}{2}\right)+12&\stackrel{?}{=}18\\
1+5+12&\stackrel{?}{=}18\\
18&\stackrel{\checkmark}{=}18
\end{align*}$$
Thus, the solution is $x=-\frac{1}{2}$.