Question 799139
1) 2x-6=y
2) x+y=30

then we write...

x+2x-6=30
3x=36
x=12

and so y=18