From the equation for the cost of almonds (y=50x) we see that the cost of almonds per ounce is: 50 cents
Given that two ounce of peanuts cost 50 cents, we deduce that 1 ounce of peanuts cost: 50/2 cents, 25 cents
In conclusion, almonds are more expensive per ounce.