Variable $x$ cannot be equal to $-2871$ since division by zero is not defined. Multiply both sides of the equation by $100\left(x+2871\right)$, the least common multiple of $100,x+2871$.
$$\left(x+2871\right)\times 24=100\times 50x$$
Use the distributive property to multiply $x+2871$ by $24$.
$$24x+68904=100\times 50x$$
Multiply $100$ and $50$ to get $5000$.
$$24x+68904=5000x$$
Subtract $5000x$ from both sides.
$$24x+68904-5000x=0$$
Combine $24x$ and $-5000x$ to get $-4976x$.
$$-4976x+68904=0$$
Subtract $68904$ from both sides. Anything subtracted from zero gives its negation.
$$-4976x=-68904$$
Divide both sides by $-4976$.
$$x=\frac{-68904}{-4976}$$
Reduce the fraction $\frac{-68904}{-4976}$ to lowest terms by extracting and canceling out $-8$.