A mall has 5 gates. How many ways can one enter and exit at the mall

1 answer

5 ways to enter
for each entry, 5 ways to exit
so, 5*5 = 25