For the first question:

I think you need to use the multiplication principle. The first task could be filed by 5 people then the second task by 4 then the third task by 3 and so on.

It would be 5 x 4 x 3 x 2 x 1.

For the second question.

I think you have the correct answer.