Can someone please explain how to solve the below 2 problems? Thanks.
1. In how many ways can Ann, Bea, Cam, Don, Ella and Fey be seated if Ann and Bea cannot be seated next to each other?
(a) 240
(b) 360
(c) 480
(d) 600
(e) 720
Answer given is [spoiler](c)[/spoiler]
2. How many positive integers less than 10,000 are there in which sum of digits equals 5?
(a) 31
(b) 51
(c) 56
(d) 62
(e) 93
Answer given is [spoiler](c)[/spoiler]
1. In how many ways can Ann, Bea, Cam, Don, Ella and Fey be seated if Ann and Bea cannot be seated next to each other?
(a) 240
(b) 360
(c) 480
(d) 600
(e) 720
Answer given is [spoiler](c)[/spoiler]
2. How many positive integers less than 10,000 are there in which sum of digits equals 5?
(a) 31
(b) 51
(c) 56
(d) 62
(e) 93
Answer given is [spoiler](c)[/spoiler]













