Cindy spent $15.25 on ingredients for a blueberry pie and $12.84 on ingredients for a cherry pie. Each slice of pie sells for $3.50.

If Cindy sells 24 slices of blueberry pie and 15 slices of cherry pie, what was her profit?