Question: Suppose a set A has n elements and a set B has m elements. Prove that there are 2^m*n different relations from A to B

Now i see how this works with the product rule with AXB with m*n elements. and there are two sets so thats where 2 is involved. So i guess all the pieces are there but i don't know what to do with them.