This is my first post on this forum, so I hope I don't break any rules and give you too much help for your homework :p
But I remember being very confused when I first bumped into the direct product of groups.
If we start with the basic definition: If A and B are both groups then A x B = {(a,b) | a \in A, b\in B}, so it is the set of all (a,b) where a is in A and b is in B.
then for example to find Z2 x Z3:
we know {0,1} is Z2 and {0,1,2} is Z3
so Z2 x Z3 is the set of all (a,b) where a is in {0,1} and b is in {0,1,2}
therefore Z2 x Z3 = {(0,0), (0,1), (0,2), (1,0), (1,1), (1,2)}
obviously this is very clumsy and long, so if you're working with direct products it's useful to note that when Zn x Zm, if n and m are coprime then Zn x Zm is isomorphic to Znm.
So in the example above, Z2 x Z3 is isomorphic to Z6.