To evaluate the equation \(y = 5 + 3x - 7 - 2x\) for \(x = 2\) and \(x = 5\), we will follow the steps below:
Step 1: Plug in \(x = 2\)
- Substitute \(2\) in place of \(x\) in the equation:
\[ y = 5 + 3(2) - 7 - 2(2) \]
- Leave the expression unsimplified for now:
\[ y = 5 + 3 \cdot 2 - 7 - 2 \cdot 2 \]
Step 2: Evaluate the expression for \(x = 2\)
Now simplify step-by-step:
- \(3 \cdot 2 = 6\)
- \(2 \cdot 2 = 4\)
Putting this back into the equation:
\[ y = 5 + 6 - 7 - 4 \]
Now, combine these values:
\[ y = 5 + 6 - 7 - 4 = 5 + 6 = 11 \] \[ y = 11 - 7 = 4 \] \[ y = 4 - 4 = 0 \]
Thus, the value of \(y\) when \(x = 2\) is:
\[ y = 0 \]
Step 3: Plug in \(x = 5\)
- Substitute \(5\) in place of \(x\) in the equation:
\[ y = 5 + 3(5) - 7 - 2(5) \]
- Leave the expression unsimplified for now:
\[ y = 5 + 3 \cdot 5 - 7 - 2 \cdot 5 \]
Step 4: Evaluate the expression for \(x = 5\)
Now simplify step-by-step:
- \(3 \cdot 5 = 15\)
- \(2 \cdot 5 = 10\)
Putting this back into the equation:
\[ y = 5 + 15 - 7 - 10 \]
Now, combine these values:
\[ y = 5 + 15 = 20 \] \[ y = 20 - 7 = 13 \] \[ y = 13 - 10 = 3 \]
Thus, the value of \(y\) when \(x = 5\) is:
\[ y = 3 \]
Final Results
For \(x = 2\), \(y = 0\).
For \(x = 5\), \(y = 3\).