What we want is to factor the first two, then the 2nd two terms and get the same thing after we factor.
3y2 - 2y2 = y2(3y - 2)
-21y + 14 = -7(3y - 2)
Well, look at that. Both have 3y - 2. We combine what's in front in their own parentheses.
3y2 - 2y2 - 21y + 14 = (y2 - 7)(3y - 2)
Hope this helps!