the roots of the equation |x^2+2x-10| = 5 are -5, 3, and -1+-sqrtN

value of N is?
A. 6
B. 8
C. 12
D. 24

please help with this.

x^2+2x-10=5 or x^2+2x-10=-5

x^2+2x-15=0 or x^2+2x-5 = 0
(x+5)(x-3) or [ -2 +/- sqrt(4+20)]/2
= [ -2 +/- sqrt (4*6)] /2
= -1 +/- sqrt(6)