Answer:
See below.
Explanation:
Part 1:
People who were invited and didn't come:
= 25% of 40
Key: "of" means "to multiply", % means out of 100.

So,
People who came = 40 - 10
= 30 people
Part 2:
People who were invited but didn't come:
= 20% of 40

So,
People who came = 40 - 8
= 32 people
![\rule[225]{225}{2}](https://img.qammunity.org/2023/formulas/english/college/eq413d752mwtrwwenrzwldxt4w1olmf1b3.png)