The programs cost the same for 7 classes.
Given, no. of classes is represented by c, no. of dogs is represented by d, no. of hours is represented by h, the no. of programs is represented by p and the total cost is represented by t.
The first program charges $35 membership fee and $5 for each class.
The second program charges only $10 for each class.
Now the total cost say
, for first program can be written in equation form as,
, here c is the no. of classes.
Similarly, the total cost say
, for second program can be written in equation form as,
.
We have to find out the no. of classes for which the two programs cost the same.
according to the question,


Hence for 7 of classes the programs cost the same.
For more details follow the link:
brainly.com/question/4042361