This question requires the use of the following basic property of Statistics:
Adding a value to a set, that is
greater than the mean, will
increase the overall
mean(average) value of the set.
Here, we are adding the median value of each group, as a new person's salary.
To understand how the mean would get affected by this new addition, we require the relationship between the mean and the median of that particular group.
Hence, if Median is greater than the Mean, we can safely, say that the overall value of the Mean will increase.
You can see that the median is greather than the mean in case of Groups A, C & G. Hence, these groups will see a rise in Mean after the addition of their respective Medians.
The answer to the first blank is 3.
The highest increase will be in group G, since there, the median is around 109% of the Mean. Larger than any other group. Hence, the answer to the second question is G.