The first step to answer this question is to take 2 as a common factor:
[tex]\begin{gathered} 2y^2-2y-4 \\ 2(y^2-y-2) \end{gathered}[/tex]Now, factor the expression inside the parenthesis:
[tex]\begin{gathered} 2(y^2-y-2) \\ 2(y-2)(y+1) \end{gathered}[/tex]It means that the correct answer is 2(y-2)(y+1) (second choice).