You can put this solution on YOUR website! use the substitution method
with the first equation get x by itself
x+y=5
subtract y from both sides
x=5-y
now substitute this value in the other equation for x
2(5-y)-y=4
10-2y-y=4
10-3y=4
subtract 10 from both sides
-3y=-6
divide both sides by -3
y=2
x+y=5
x+2=5
subtract 2 from both sides
x=3
answer y=2 and x=3
check work
2x-y=4
2(3)-2=4
6-2=4
4=4
x+y=5
2+3=5
5=5