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