Hello, thank you for taking the time to post your question!
When you’re computing a probability like this the general formula you want to have in mind is that you need
Probability = (# of successful outcomes) / (# of total outcomes)
On this one the # of total outcomes would be C(52,5) = 2,598,960 since it’s a 52 card deck and 5 cards are being selected.
For the # of successful outcomes then you want to think in terms of the number of ways to choose three fives from four fives (C(4,3)) and the number of ways to choose 2 fours from four fours (C(4,2)), then multiply those together since both scenarios need to occur.
That ends up being 4 x 6 = 24
Putting it all together then gives
24 / 2,598,960 = 0.000009 for the probability
Hopefully that gets you moving in the right direction! Feel free to reach out for a lesson if you have any questions about the process to solve beyond that! :)