Final answer:
To solve the system of equations using substitution, express one variable in terms of the other and substitute it into the second equation. Then solve for the remaining variable.
Step-by-step explanation:
Danny attempted to solve the system of equations using substitution, but made a mistake. Let's go through the correct steps to solve the system:
- From the first equation, we can express x in terms of y as x = 7 + y.
- Substitute this value of x into the second equation:
- 2(7 + y) + y = 8
- Now simplify the equation: 14 + 2y + y = 8
- Combine like terms: 3y + 14 = 8
- Subtract 14 from both sides: 3y = -6
- Divide both sides by 3: y = -2
- Substitute this value of y back into the expression for x: x = 7 - 2 = 5
Therefore, the correct solution to the system of equations is x = 5 and y = -2.