Answer:
8/9
Step-by-step explanation:
1 blue, 2 yellow, 7 red, 6 green, and 2 purple marbles = 18 marbles
The number that are not yellow = total - yellow
P( not yellow) = number that are not yellow / total
            = (18-2) / 18
            = 16/18
            =8/9