Variable $x$ cannot be equal to $0$ since division by zero is not defined. Multiply both sides of the equation by $5x$, the least common multiple of $x,5$.
$$5\times 2=9x$$
Multiply $5$ and $2$ to get $10$.
$$10=9x$$
Swap sides so that all variable terms are on the left hand side.