Skip to main content
Solve for x
Tick mark Image
Solve for y
Tick mark Image
Graph

Similar Problems from Web Search

Share

xy+2x+2=y
Add y to both sides. Anything plus zero gives itself.
xy+2x=y-2
Subtract 2 from both sides.
\left(y+2\right)x=y-2
Combine all terms containing x.
\frac{\left(y+2\right)x}{y+2}=\frac{y-2}{y+2}
Divide both sides by y+2.
x=\frac{y-2}{y+2}
Dividing by y+2 undoes the multiplication by y+2.
xy-y+2=-2x
Subtract 2x from both sides. Anything subtracted from zero gives its negation.
xy-y=-2x-2
Subtract 2 from both sides.
\left(x-1\right)y=-2x-2
Combine all terms containing y.
\frac{\left(x-1\right)y}{x-1}=\frac{-2x-2}{x-1}
Divide both sides by x-1.
y=\frac{-2x-2}{x-1}
Dividing by x-1 undoes the multiplication by x-1.
y=-\frac{2\left(x+1\right)}{x-1}
Divide -2x-2 by x-1.