Solve the following equation:
\(x^2+4x+4=0\)
Instructions:
Find the roots of the given equation. (Write the roots separated by comma without any space)
When solving the equation, \(x^2-9=0\), a student thought they were doing the problem correctly but ended up with the wrong solution. The student's work is below. What did they do wrong and how could you fix the problem?
\(x^2-9=0\)
\(\left(x-3\right)\left(x-3\right)=0\)
\(x-3=0\)
\(x=3\)