All we have to do is to multiply the probability of drawing a red marble to the probability of drawing a green marble after drawing the red one.
For the probability of drawing a red marble first, it should be a fraction with the number of red marbles as the numerator, and the total number of all marbles as the denominator.
Which means,
5/(5+8+12)
=5/25
=1/5
Now, we need to find the probability of drawing a green marble after drawing a red marble. In short, it means the number of green marbles as the numerator and the total number of all marbles one red marble (since it has been drawn already) as the denominator.
12/(4+8+12)
=12/24
=1/2
Therefore,
1/5 x 1/2
=1/10
=0.1
=10%