I struggle with 2 questions please help.
1) 5 girls stand in a line. How many possible permutations are there in which Anya is at the left of the line or Elena is on the right, or both?
And the answer from my book is: 42
2) In how many ways can 5 different sweets be split amongst 2 people if one of the sweets is split into two to be shared, and each person gets two of the remaining sweets.
The answer to that is 12.
Please help I am really confused.
1) 5 girls stand in a line. How many possible permutations are there in which Anya is at the left of the line or Elena is on the right, or both?
And the answer from my book is: 42
2) In how many ways can 5 different sweets be split amongst 2 people if one of the sweets is split into two to be shared, and each person gets two of the remaining sweets.
The answer to that is 12.
Please help I am really confused.