I am trying to clear something up in my head, if I have the below

set1 of {A,B,C,D,E,F,G}

set2 of {w,x,y,z}

My question how many ways can set1 map to set2, well 6X4=24 ways

but what if I had 10 or 10million sets of 'x,x1,x2,xbla' number of elements then what formula would I have to use for an ordered mapping set1 ->set 2>set3

just multiply the number of elements in each set together?

Could someone explain briefly the approach for this on permutations and combinations, with and without repetition.

Many thanks