equation 1: - 3x + 3y = 6
equation 2: x + 3y = 18
start with equation 2:
x + 3y = 18
subtract 3y from both sides:
x = 18 - 3y
plug the new equation into equation 1:
- 3x + 3y = 6
- 3 (18 - 3y) + 3y = 6
multiply:
-54 + 9y + 3y = 6
collect like terms:
-54 + 12y = 6
add 54 to both sides, then divide the whole equation by 12:
12y = 60
y = 5
plug the y value into either equation to solve for x. for example, here is equation 2:
x + 3y = 18
x + 3(5) = 18
x + 15 = 18
x = 3
check answer:
x + 3y = 18
3 + 3(5) = 18
3 + 15 = 18
18 = 18 is true