Show that any 2 groups with order 2 are isomorphic

So I guess we can start off with

Suppose $\displaystyle G=(\{e,a\}, \cdot )$ and H=({i,b},*) are 2 groups with identity elements e and i

And Like i am getting stuck here. Not sure how I should proceed