DeShawn and Bill are selling pies for a school fundraiser. Customers can buy apple pies and blackberry pies. DeShawn sold 3 apple pies and 7 blackberry pies for a total of $99. Bill sold 2 apple pies and 14 blackberry pies for a total of $178. What is the cost each of one apple pie and one blackberry pie