2x + 3(1.50) = 5*2.50
This is the equation you need.
2 lb @ x per pound = cost of more expensive candy
3 lb @ $1.50 per pound = cost of less expensive candy
There will be 5 lb in the mix and it is to sell at $2.50.
This gives you the equation you need.