The probability of getting exactly 3 Diamonds and 2 Jacks in a 5-card hand drawn from a standard deck of 52 cards is calculated as follows:
There are 13 diamonds in a deck of cards and 4 Jacks. The number of ways to choose 3 diamonds out of 13 is “13 choose 3” or (13 C 3) = 286. The number of ways to choose 2 Jacks out of 4 is “4 choose 2” or (4 C 2) = 6.
The total number of ways to choose any 5 cards out of a deck of 52 is “52 choose 5” or (52 C 5) = 2,598,960.
So the probability of getting exactly 3 Diamonds and 2 Jacks is (286 * 6) / 2,598,960 = 0.00066.
I am getting this but this doesn't match with the answer.
Hint
For the numerator, to the case I where you have $3$ non-Jack$\diamond$ and $2$ non-$\diamond$ jacks, add the case II where you have
Jack $\diamond$ + $2$ other $\diamond$ + $1$ other Jack + $1$ non-$\diamond$ non-Jack