Explanation:
Isolate the x-variable in the second equation:
- ⇒ x − 2y = –8
- ⇒ x = –8 + 2y
Now, substitute the expression equivalent to x into the first equation:
Finally, simplify to find y:
- ⇒ -40 + 10y − 6y = –20
- ⇒ 10y − 6y = –20 + 40
- ⇒ 4y = 20
- ⇒ y = 5
Lastly, substitute the value of y into any equation to find x:
- ⇒ x − 2(5) = –8
- ⇒ x − 10 = –8
- ⇒ x = –8 + 10 = 2
Therefore, the value of x and y are 2 and 5 respectively.