PERMUTATION OF n TAKEN n AT A TIME

1.)how many ways are there to order 6 books on a shelf?

2.) If there are FIVE different types of cookies, how many ways can you eat all of them?​