Let x and y be the candy pounds that sells for $0.87 and $1.22 , respectively. Since they both must add up to 9 lb, we have

On the other hand, the mixture should sell for $0.91 per lib, so we can write,

Or euivalently,

Then, we need to solve the following system of equations:

Solving by elimination method.
In order to eliminate variable x, we can to multiply equation (A) by -0.95604 and get an equivalent system of equations:

Then, by adding both equations, we get

Then, y is given by

Once we have obtained the result for y, we can substitute in into equation (A), that is,

then, x is given as

Therefore, by rounding to two decimal places, the answer is:
$ 0.87 per lb of candy: 7.97 lb
$1.22-per-lb of candy: 1.03 lb