let xy + x^2 = x find y'

I assume you want dy/dx

If xy + x^2 = x, then
y = 1 - x

Take the derivative of that.