Step-by-step explanation:
put x=5-y into eqn2
2(5-y)+5y=4
10-2y+5y=4
10+3y=4
3y=-6
y=-2
put y=-2 into eqn1
x=5--2
x=7