jack and lea are selling pies for a school fundraiser. customers can buy apple pies and blackberry pies. jack sold 10 apple pies and 12 blackberry pies for a total of $310. lea sold 4 apple pies and 8 blackberry pies for a total of $172. find the cost of each one apple pie and one blackberry pie