Michelle bought 12 cookies and 8 cupcakes for $72. Jana bought 5 of the same cookies and 10 of the same cupcakes for $50. What is the price of each item?