How do I solve the system by substitution: 3x-7= -7 and x+y= -9

I think it's like this;

3x-7= -7 X(0)+y=-9
3x=0 y=-9
x=0