we are given with the system of equations
[tex] 2x + y = 5, x + y = 4 [/tex]
Now we can solve these equations together using substitution method
[tex] 2x+y=5,y=4-x\\
\\
2x+4-x=5\\
\\
x+4=5\\
\\
x=1\\
\\
[/tex]
Now substitute x=1 in in the second equation we get
[tex] 1+y=4\\
\\
y=4-1\\
\\
y=3\\
\\
Hence \ x=1,y=3\\ [/tex]