We can use completing the square.We add 16 and subtract 7 to both sides. Now we get m^2+8m+16=9. The left sides becomes (m+4)^2=9. Taking the square root of both sides and subtracting 4 we get -1 and -7.

Complete the square.................