A box contains ten bricks identical except for color. Three bricks are red, two are white, two are yellow, two are blue and one is black. In how many ways can three distinguishable bricks be:
(a) taken from the box
(b) arranged in a row?
I can't hit on any way to find (a), pairs of same colored bricks are possible as long as a differently colored brick is in the middle, but other than this I don't know what to do. And for (b) I don't know either.
I really am horrible at this permutations and combinations, so any help will be greatly appreciated.