Answer: a = 3, b = 1
Step-by-step explanation: There is nothing to be done except solving the equation together:
x - y = 2 => x - 2 = y (Equation 1)
x + y = 4 => 4 - x = y (Equation 2)
x - 2 = 4 - x ==> x should be 3 in this case. (a = 3)
If x or a is equal to 3, we can use this value to find y (or b).
Solving for the first equation:
x - y = 2 ==> (3 - y = 2)
y is equal to 1.