Let the person select x biscuits from first variety, y from the second, Z from the third and w from the fourth variety. Then the number of ways=number of solutions of the equation x+y+z+w=10.
where x=1,2,...,7
y=1,2,...,7
z=1,2,...,7
w=1,2,...,7
So, number of ways=coefficient of x10 in (x+x2+...+x7)4
=coefficient of x6 in (1+x+...+x6)4
=coefficient of x6 in (1−x7)4(1−x)−4
=coefficient x6 in (1−x)−4
=4+6−1C6=9C3=84