A store is having a sale on jelly beans and trail mix. For 6 pounds of jelly beans and 2 pounds of trail mix, the total cost is $14. For 3 pounds of jelly beans and 5 pounds of trail mix, the total cost is $20. Find the cost for each pound of jelly beans and each pound of trail mix.