On March 31, 2022 Justin told 8 of his friends that they did not have to come to school the next day. He said it was an April Fool's Day holiday. Each of his friends told 4 of their friends. If Justin's 8 friends and each of their 4 friends didn't come to school the next day, how many people stayed home because of Justin?

I believe this would be 8+(8*4), which is 40.

From what I can tell, 40 students didn't go to school on that day.