I got stuck with my math homeworkI was trying to figure these equations for 2 HOURS STRAIGHT (i gave up )

SOLUTION
Given the question in the image, the following are the solution steps to answer the question.
STEP 1: Write the given equation
[tex]1-5\left(x-1\right)=2\left(2x-1\right)-x[/tex]STEP 2: Simplify the equation
Expand the two sides of the equation
[tex]\begin{gathered} 1-5(x-1)=2(2x-1)-x \\ 1-5x+5=4x-2-x \end{gathered}[/tex]STEP 3: Simplify both sides
[tex]\begin{gathered} -5x+6=3x-2 \\ \mathrm{Subtract\:}6\mathrm{\:from\:both\:sides} \\ -5x+6-6=3x-2-6 \\ -5x=3x-8 \\ \mathrm{Subtract\:}3x\mathrm{\:from\:both\:sides} \\ -5x-3x=3x-8-3x \\ -8x=-8 \\ \mathrm{Divide\:both\:sides\:by\:}-8 \\ \frac{-8x}{-8}=\frac{-8}{-8} \\ \\ \therefore x=1 \end{gathered}[/tex]Hence, the value of x is 1