The following three methods of approach are indicated.
(a) Number of ways of forming the party = 12C8 - 10C6
[since 10C6 is the number of ways of making up the party with both the specified guests included]
= 495 - 210 = 285
(OR)
(b) Number of ways of forming the party
= Number of ways of forming without both of them + Number of ways of forming with one of them and without the other
= 10C8 + 2. 10C7 = 45 + 240 = 285
(OR)
(c) Split the number of ways of forming the party
= Those with one of the two (say A) + those without A
= = 10C7 + 11C8 = 120 + 165 = 285