The cost of a ticket to an amusement park is $42 per person. For groups of up to 8 people , the cost per ticket decreases by $3 for each person in the group .Marcos’s ticket cost $30. Write an solve an equation to find the number of people in Marcos’s group.