this a system of equations

A merchant decides to mix peanuts worth 5.25 per pound and trail mix worth 2.75 a pound to make a 10 pound mixture worth 4.75 per pound. how many pounds of each should his mixture contain?
please help me.

1 answer

If there are p lbs of peanuts, then the rest (10-p) lbs of trail mix.
Now just add up the value of each part to equal the value of the final mixture:

5.25p + 2.75(10-p) = 4.75*10