a corner store sells two kinds of baked goods:cakes and pies. A cake cost $15 and a pie cost $7. In one day, the store sold 45 baked goods for a total of $467. How many of each item were sold?