A store is having a sale on chocolate chips and walnuts. For 
5
 pounds of chocolate chips and 
2
pounds of walnuts, the total cost is 
$10
. For 
3
 pounds of chocolate chips and 
8
 pounds of walnuts, the total cost is 
$23
. Find the cost for each pound of chocolate chips and each pound of walnuts.