Hakim is a kickboxing instructor who will be teaching classes at a local gym. To get certified as an instructor, he spent a total of $90. Hakim will be earning a base salary of $70 per month from the gym, plus an additional $5 for every class he teaches. If Hakim teaches a certain number of classes during his first month as an instructor, he will earn back the amount he spent on certification. How many classes will that take?