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