Find the earnings for selling the same number of each type of sandwich use x to represent the number of each sandwich sold