A yoga studio offers memberships that cost $35 per month for unlimited classes. the studio also accepts walk-ins, charging $5 per class. if someone attends enough classes in a month, the two options cost the same total amount. how many classes is that? what is that total amount?