How I solved:
For probability questions like these, it's often easy to structure the problem by setting up a fraction, which is total number of desired outcomes over total number of possible outcomes.
The total number of possible outcomes is usually the simpler one. In this case there are 6 possible outcomes for each dice roll of which there are 6, so its 6^6.
For total number of desired outcomes, we need to take all of the cases where 3 out of the 6 dice rolls are either a 5 or a 6 and the others are not.
First, consider the total number of ways to pick 3 from 6: 6C3. Next, for each of the three slots which have our desired outcome, there are two choices they can be: either a 5 or a 6. That's 2 * 2 * 2. For the last three slots, they must not be 5 or 6, so they must be 1,2,3 or 4. Therefore we multiply by 4 * 4 * 4 to account for each of these possible outcomes.
Altogether, it is 6C3*2*2*2*4*4*4/6^6
Simplified: 20* 2^9/2^6*3^6
Cancel out: 20* 2^3/3^6