Let x be the number of pounds of the $2.00 candy and let y be the number of pounds of the $2.85 candy.
We know that in total the grocer wants 21 pounds, this can be express by the equation:

We also know that the grocer wants the mix to cost $2.05 per pound. This condition can be express as:

Hence we have the system of equations:

To solve ithe system we solve the first equation for y:

and we plug this value in the second equation:

Now we plug the value of x in the expression for y we found earlier:

Therefore, the grocer needs 19.76 pounds of the $2.00 candy and 1.24 pounds of the $2.05 candy