[tex] \frac{1}{4} x - ( \frac{1}{8} - \frac{1}{2} x) = \frac{5}{4} \\ \frac{1}{4} x - \frac{1}{8} + \frac{1}{2} x = 5 \\ 2x - 1 + 4x = 40 \\ 6x - 1 = 40 \\ 6x = 40 + 1 \\ x = \frac{41}{6} \\ x = 6 \times \frac{5}{6} [/tex]