Find the value of m which makes x\(^2\) + 8 + m a perfect square