Answer:
The value of x is 4.
Step-by-step explanation:
-5(x-1)-x+1= -18
or, -5x+5-x+1=-18
or, -6x+6= -18
or, -6(x-1)=-18
or, x-1=3
or, x=4