If I mix cashews worth $6.25 a pound with peanuts worth $2.00 a pound to get a half pound mixed nut bag worth $1.70. How much of each kind of nut is included in the mixed bag?

let x = lbs of cashews
let y = lbs of peanuts
x + y = .5
y = .5  x
6.25x + 2y = 1.7
6.25x + 2(.5  x) = 1.7
6.25x + 1  2x = 1.7
4.25x = .7
x = 0.16470588235294117647058823529412
x = .165 lbs
y = .335 lbs
let y = lbs of peanuts
x + y = .5
y = .5  x
6.25x + 2y = 1.7
6.25x + 2(.5  x) = 1.7
6.25x + 1  2x = 1.7
4.25x = .7
x = 0.16470588235294117647058823529412
x = .165 lbs
y = .335 lbs