1.
[tex]\frac{x+1}{2}-2(x+1)=-5-\frac{x+1}{4} \ \ |\cdot4\\\\2(x+1) - 8(x+1) = -20-(x+1)\\\\2x+2 - 8x-8 = -20-x-1\\\\-6x-6 = -x-21\\\\-6x+x = -21+6\\\\-5x=-15 \ \ /:(-5)\\\\\underline{x = 3}[/tex]
2.
[tex]8(1-x)+2 = \frac{x+5}{3}-25 \ \ |\cdot3\\\\24(1-x) + 6 = x+5 - 75\\\\24-24x+6 = x-70\\\\-24x+30 = x - 70\\\\-24x-x = -70-30\\\\-25x = -100 \ \ /:(-25)\\\\\underline{x = 4}[/tex]