Given that,
We have A box which containing 5 red, 8 white and 4 green marbles.
Therefore, the total no. of possible outcomes $=17$ ($5$ red $+8$ white $+4$ green)
(i) Let E be the Event of getting a red marble
So, Number of favorable outcomes $=5$ (as $5$ red marbles)
As we know Probability, P(E) = Number of favorable outcomes/ Total number of outcomes
P(E) $=5/17$
(ii) Let E be the event of getting a green marble
Therefore, Number of favorable outcomes $=4$ (as $4$ green marbles)
As we know, Probability, P(E) = Number of favorable outcomes/ Total number of outcomes
P(E) $=4/17$
Now,
Event of getting not a green marble
Therefore, we know that,
Thus , the probability that the marble taken out is not green is $13/17$.