[tex]\begin{gathered} 2(5x+1)-2x=2-2(3x+1) \\ \text{open the bracket} \\ 10x+2-2x=2-6x-2 \\ 8x+2=-6x \\ \text{collect like terms} \\ 8x+6x=-2 \\ 14x=-2 \\ \text{divide both sides by 14} \\ \frac{14x}{14}=\frac{-2}{14} \\ x=\frac{-1}{7} \end{gathered}[/tex]