Skip to main content
Solve for x
Tick mark Image
Graph

Similar Problems from Web Search

Share

\left(x+5\right)x=\left(x+2\right)\left(x+1\right)
Variable x cannot be equal to any of the values -5,-2 since division by zero is not defined. Multiply both sides of the equation by \left(x+2\right)\left(x+5\right), the least common multiple of x+2,x+5.
x^{2}+5x=\left(x+2\right)\left(x+1\right)
Use the distributive property to multiply x+5 by x.
x^{2}+5x=x^{2}+3x+2
Use the distributive property to multiply x+2 by x+1 and combine like terms.
x^{2}+5x-x^{2}=3x+2
Subtract x^{2} from both sides.
5x=3x+2
Combine x^{2} and -x^{2} to get 0.
5x-3x=2
Subtract 3x from both sides.
2x=2
Combine 5x and -3x to get 2x.
x=\frac{2}{2}
Divide both sides by 2.
x=1
Divide 2 by 2 to get 1.