A student solved the equation x+2(x+1)=17 below and showed their work in the table below.

Problem x+2(x+1)=17
Line 1 x+2x+2=17
Line 2 3x+2=17
Line 3 3x=15
Line 4 x=5

what Line has a mistake

3 answers

Line 2 has a mistake. The correct combination of terms in Line 2 should be x + 2x + 2 = 17, which simplifies to 3x + 2 = 17.
what the correct answer
The correct answer is x = 5.