Sammy and 4 friends went out to lunch together. They all ordered the same thing for lunch. Sammy was the only one who ordered dessert, which cost $6.00. The total bill was $24.75 before tax and tip. Sammy paid for his own dessert. How much did each person’s lunch cost?