Respuesta :

Solve the following system:
{x + 2 y = 5 | (equation 1)
{3 x - y = 1 | (equation 2)
Swap equation 1 with equation 2:
{3 x - y = 1 | (equation 1)
{x + 2 y = 5 | (equation 2)
Subtract 1/3 × (equation 1) from equation 2:
{3 x - y = 1 | (equation 1)
{0 x+(7 y)/3 = 14/3 | (equation 2)
Multiply equation 2 by 3/7:
{3 x - y = 1 | (equation 1)
{0 x+y = 2 | (equation 2)
Add equation 2 to equation 1:
{3 x+0 y = 3 | (equation 1)
{0 x+y = 2 | (equation 2)
Divide equation 1 by 3:
{x+0 y = 1 | (equation 1)
{0 x+y = 2 | (equation 2)
Collect results:
Answer:  {x = 1
                {y = 2