This is because the probability of choosing green as the first marble would be 9/20, as there are 20 marbles in total and 9 of those are green.
The probability of choosing a red marble as the second marble would be 6/19, as no red marbles would have been lost if green was picked first, but there would be one less marble in total.
The 'and' rule for probability, the one that is used to determine the probability of P(A) and P(B), is to multiply, so we need to do 9/20 × 6/19 = 54/380 = 27/190.