Factorials, exponents, and divisibility

Whats the trick to solve this problem (this is from quant flashcard quiz #2).

Screen Shot 2023-10-15 at 11.32.42 AM

Also, it’d be nice to have the worked out solutions to each of the flashcard quant quizzes. Where can I find this?