Explanation:
when counting the events we see, he did
22+19+20+18+21 = 100 experiments.
and he got in 20 cases out of the possible 100 a purple marble.
that means the observed probability to pull a purple marble is 20/100 = 1/5.
now he does 25 more pulls.
each with the probity of 1/5 to pull a purple marble.
so, he should expect to pull a purple marble 25×1/5 = 5 times.