Linear equation help $$\frac{1-x}{4} + \frac{5x+1}{2} = 3 - \frac{2(x+1)}{8}$$
I got x=1 but the book says x=4/5 and I don't understand how to get to that, I tried working backwards too but I just can't figure it out. Any help would be appreciated, thanks.
Here's my work
using 8 as the lcm
$$
\begin{align}
 \frac 81(\frac {(1-x)}4) +  \frac 81(\frac {(5x+1)}2) &=  \frac 81(3) - \frac 81\frac {2(x+1)}8 \\
2(1-x) + 4(5x+1) &= 24 - 2x + 2 \\
2 - 2x + 20x + 4 &= 24 - 2x + 2 \\
6 + 18x &= 26 -2x \\
20x &= 20 \\
x &= 1 \\
\end{align}
$$

We have that
$$\frac{1-x}{4} + \frac{5x+1}{2} = 3 - \frac{2(x+1)}{8}\iff 2(1-x)+4(5x+1)=24-2(x+1)\\\iff2-2x+20x+4=24-2x-2\iff20x=16$$
