The correct option is D (3,−1)
x+y=2---(1)
x−y=4---(2)
Substitute the values of first option x=3 and y=−1 in equations (1) and (2)
⇒x+y=2
3+(−1)=2
2=2
⇒x−y=4
3−(−1)=4
4=4
Therefore, the first option satisfied the linear equations.
Likewise substitute the value of second option x=3,y=1
⇒x+y=2
3+1=2
4≠2
⇒x−y=4
3−1=4
2≠4
Similarly, check the options to satisfy the linear equation.
Here, the first option satisfied the linear equation.
The solution is (3,−1)