This is true, because there is an infinite amount of real numbers in both, and they are both countably infinite (so these infinities are equal). Hope this helps!
X would be 0 while Y would be 4
3x+y=4
-(2x+y=4)
----------------
x=0
Plug in x to any of those two equations in their original form
3(0)+y=4
0 + y = 4
y = 4
36 divided by 4 = 9
so then you take 3 times 9 which is 27 so the answer is
g=27