You may have rewritten the equation as , and mistakenly thought that the left side was a perfect square. You should instead add 25 to both sides of to complete the square, and then factor the left side.