Assignment Question: A box contains of some green balls and some white balls. Given that the probability of drawing two green balls without replacement is $0.5$,
(a) what is the smallest total number of ball inside this box? Hence, state the total number of green and white balls,
(b) if the total number of white ball inside this box is an even number, what is the smallest total number of white ball inside this box? Hence state the number of green ball inside this box.
I'm not sure about the correct way to do it, is it something about the expected formula? I tried the trial and error way $P(X_1) \times P(X_2)=0.5$ , and put all the possible number for $X_1$ and $X_2$ but still I can't get it and I don't think the teacher will accept the trial and error method. Any help will be appreciated.