Total number of possible outcomes =10+16+8=34 balls
So, n(S)=34
Favorable outcomes for not a red ball = favorable outcomes for white or green ball
So, number of favorable outcomes for white or green ball =16+8=24=n(E)
Hence, probability for not drawing a red ball =n(E)/n(S)=24/34=12/17