In the equation y^2 + ay - 24 = 0, a is a constant and y is a variable. What is the value of a ?
(1) y + 8 is a factor of y^2 + ay - 24
(2) 3 is a root of the equation y^2 + ay - 24 = 0
(1) y + 8 is a factor of y^2 + ay - 24
(2) 3 is a root of the equation y^2 + ay - 24 = 0