I need help with 5-6

Step-by-step explanation:
Q 5
Let the one white ball be [tex] W_1, [/tex]
4 black balls be [tex] B_1,\:B_2,\:B_3,\: B_4 [/tex]
& 5 red balls be [tex] R_1,\:R_2,\:R_3,\: R_4, \:R_5[/tex]
Therefore, sample space is given as:
[tex]S= \{ W_1, \:B_1,\:B_2,\:B_3,\: B_4, \: R_1,\:R_2,\:\\\:\:\:\:\:\:\:\:\:\:\:\:\:R_3,\: R_4, \:R_5\} [/tex]
Q 6
Given number is: 112964333
sample space for above number can be given as:
[tex]S= \{ 1, \:2,\:3,\:4,\: 6, \: 9\} [/tex]
Note: Digits appearing in a number more than one time will be written only once while writing sample space.