A pie shop charges $3 per slice of custard pie. They cut each whole pie into 10 slices. If they make 6 whole custard pies, how much money will the pie shop earn?
Please reason step by step, and put your final answer within \boxed{}.
user