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