Use systems of linear equations
A + B = 169
5.45A + 4.4 B = 820.25
I'll use substitution but you could use elimination as well
B = 169 - A
5.45A + 4.4(169-A) = 820.25
5.45A + 743.6-4.4A = 820.25
1.05A = 76.65
A = 73
73 + B = 169
B = 96
73 lbs. of coffee A and 96 lbs. of coffee B