For green sweets, probability is 8 / 30 = 4 / 15 (or approximately 0.267). For yellow sweets, sample probability is 7 / 30. In 600 sweets, the expected yellow sweets count is (7 / 30) x 600 = 140.
Home/class 9 ganita manjari chapter 7 the mathematics of maybe: introduction to probability solutions