Mrs. AItoro’s class conducted a survey about pets. According to the survey, 2 out of 5 students do not have a pet. There are 12 students who have at least one pet at home. How many students participated in the survey?

3 out of 5 have pets.

3/5x = 12

Solve for x.