For (a), it would be the first one and the last one, since all of the factors are terms with variables attached and cannot be disconnected from one another.
For (b), it would be the second one since you have to use distributive property, and when the 2 is multiplied by the 8, there has to be a 16 in the mix somewhere.
Hope this helps!