Variable $x$ cannot be equal to $5$ since division by zero is not defined. Multiply both sides of the equation by $x-5$, the least common multiple of $x-5,5-x$.
$$3+\left(x-5\right)\times 2=-5$$
Use the distributive property to multiply $x-5$ by $2$.