Try working with the two equations, in two unknowns:
You can finish your first equation (sum of cost of more expensive food (x pounds at a cost of $1.10$) and the cost of the leass expensive food (y pounds at a cost of .85 per pound) by noting we want a _total of $40$ pounds costing 0.95 per pound_ for a total cost of $.95\times 40$:
$$1.10x+0.85y= 0.95\times 40\tag{1}$$
The number of total pounds needed is the sum of the weights, in pounds, given by $x + y$: $$x + y = 40\tag{2}$$