You will use the concept of the multiplication rule to answer these problems.
As in the hint, look at the 4th digit (last digit) first. There's only 2 to choose from (4 or 6).
_ _ _ 2
Now since there are no repetitions allowed, since you already used one number for the last digit, there's only 4 to choose from for the first digit,
4 _ _ 2
then 3 for the 2nd,
4 3 _ 2
and 2 for the 3rd.
4 3 2 2
Then you multiply these numbers.
4*3*2*2 = 48.
Apply the same concept in #2. (3 evens for red * 3 evens for green =9)