Homer sold cupcakes and cookies yesterday. Each cupcake sold for $2.25 and each cookie sold for $0.25. At the end of the day, Homer has sold $55.50 worth of cookies and cupcakes. If he sold 54 cupcakes and cookies combined, how many cupcakes were sold and how many cookies were sold