Solution
[tex]\begin{gathered} \text{ We need to rewrite the equations} \\ 2x+y=7\text{ ---------(1)} \\ 4x+y=5\text{ ---------(2)} \end{gathered}[/tex]Equation (1) - (2)
[tex]\begin{gathered} (2x-4x)+(y-y)=(7-5) \\ \\ -2x=2 \\ \Rightarrow x=\frac{2}{-2}=-1 \end{gathered}[/tex]2 × (1)
[tex]\begin{gathered} 2\times(2x+y=7)\text{ } \\ \\ \Rightarrow4x+2y=14\text{ --------(3)} \end{gathered}[/tex]Equation (3) - (2)
[tex]\begin{gathered} (4x-4x)+(2y-y)=(14-5) \\ \\ y=9 \end{gathered}[/tex]Hence, x = -1 and y = 9