How do I solve for y when z= 6-y, for y.The solution is y=?

Wouldn't it be:

z=6-y
0=6-y-z
y=6-z