Correct option (B) 31248
At least one green toy can be selected out of 6 different toys in
6C1 + 6C2 + ..... + 6C6 = 63 ways
After selecting one or more green toys we can select at least one blue toy out of 5 different blue toys in
5C1 + 5C1 + .... + 5C5 = 31 ways
After selecting at least one green toy and one blue toy, selection of red toys (no restriction) can be made in
4C0 + 4C1 + .... + 4C4 = 16 ways
Therefore, the total number of selections = 63 x 31 x 16 = 31248.