Casey has a small business making dessert baskets. She estimates that her fixed weekly costs for rent and electricity are $200. The ingredients for one dessert basket cost $2.50. If Casey made 40 baskets this past week, what were her total weekly costs? Her total costs for the week before were $562.50. How many dessert baskets did she make the week before?