Find the product of all $x$ for which the expression $\frac{x^2+2x+1}{x^2+2x-3+x^2+8x+5}$ is undefined.