Suppose 5 cards are drawn from the standard deck of 52 cards. Denote random variables $X$ to be the number of black cards in the hand and $Y$ to be the number of spades in the hand.
How do I calculate $P(X=4,Y=2)$, the probability that a poker hand contains 4 black cards and 2 spades?
My attempt:
$$P(X=4,Y=2)=\frac{{13\choose2}{13\choose2}{26\choose1}}{{52\choose5}}$$
where ${13\choose2}$ is the number of ways to select 2 spades, ${13\choose2}$ is the number of ways to select the remaining 2 black cards excluding spades, and ${26\choose1}$ is the number of ways to choose a red card.