Examples
Now, that the factoring by group steps are clear, let's solve some examples!
Example # 1:
y2 + 8xy + 2y + 16x
=> y2 + 2y + 8xy + 16x (...grouping the common factors)
=> y (y + 2) + 8x (y + 2) (...applying distributive law)
=> (y + 8x) (y + 2)