I mean there is no simple way in general. So, for example since the former has the element of order four and the latter has no element of order 4. It's easy that since the latter two aren't abelian. The fact that can be gotten from counting element orders.

One can easily see that (since it's cyclic).

You can check that with symmetric difference is isomorphic to since it's abelian and for every

Try a few more and see if you can work it out. Things to check are number of subgroups of a given order, number of normal subgroups of a given order, number of elements of a given order, whether the two groups are abelian, whether they are cyclic, etc. are all properties preserved under isomorphism.