Solve the following by clearing fractions in the equation first. If your answer is not an integer, enter it as a reduced fraction.

12x5=9+18x\displaystyle \frac{{1}}{{2}}{x}-{5}={9}+\frac{{1}}{{8}}{x}

x=\displaystyle {x}=