Answer:
{x,y} = {3,1}
Explanation:
[1] x+2y=5
[2] y=3x-8
Equations Simplified or Rearranged :
[1] x + 2y = 5
[2] -3x + y = -8
Graphic Representation of the Equations :
2y + x = 5 y - 3x = -8
Solve by Substitution :
// Solve equation [2] for the variable y
[2] y = 3x - 8
// Plug this in for variable y in equation [1]
[1] x + 2•(3x-8) = 5
[1] 7x = 21
// Solve equation [1] for the variable x
[1] 7x = 21
[1] x = 3
// By now we know this much :
x = 3
y = 3x-8
// Use the x value to solve for y
y = 3(3)-8 = 1
Solution :
{x,y} = {3,1}