Really confused. I know all the definitions but I can't prove these. Can you just help me figure out the one condition or property that shows the following groups are not isomorphic?

I have this:

Prove that the following groups of order 8 are not isomorphic:

Z2 x Z2 x Z2 x Z2 x Z4

Z8

D4

Q.

Thanks.