The simultaneous equations are
2x - 7y = 4 (1)
3x + y = -17 (2)
Write (2) as
y = - 3x - 17 (3)
Substitute (3) into (1).
2x - 7(-3x - 17) = 4
2x + 21x + 119 = 4
23x = -115
x = -5
This is the equation obtained after substituting y from the second equation into the first equation.
The solution for y is
y = -3(-5) - 17 = -2
Answer: x = -5
Note: The solution is x = -5, y = -2.
There were three friends. each of them bought 6 packs of candy. Each pack had 18 pieces of candy. how much candy did they have in total?
3x6=18
18x18=324
so they had 324 pieces of candy in total.
i hope this helps!