Question: using terms once they have been isolated

I want to use a term after it has been isolated.

For example, say that I have equation1 (eq1) and I want to use the y term in the next equation, s. 

eq1:=x+y=2;

isolate(eq1,y);

s=z+y;

This returns s=z+y not s=z+x-2. I would like s=z+x-2. How do I do that?

 

 

Please Wait...