Condition 1) is useless because it only tells you that 8 people have pay raises relative to their own salaries last year. Only if all ten people had the same salaries last year could you use this info to calculate the average for this year, when combining with 2).