Doris made 80 cookies this week. She baked 4 less than three times the total she made last week. Which equation, when solved for x, gives the number of cookies she baked last week?