Jonny and James are at the bakery buying cookies and cupcakes for a party. Jonny spent $20 on 5 boxes of cookies and 2 bodies of cupcakes. James spent $15 on 3 boxes of cookies and 3 boxes of cupcakes. Find the price of a bid of cookies and a hot of cupcakes