We must calculate the price for a pound, so we will know the best value:
[tex]\begin{gathered} A=\frac{2.49}{5}=0.498 \\ B=\frac{3.99}{10}=0.399 \end{gathered}[/tex]In the other words. it is better to boy 10 pounds for the costo of $3.99 since it comes out at $0.399 per pound, instead the other comes out at $0.498 per pound.