Answer:
[tex]\boxed{\sf \ \ \ age = 16 \ \ \ }[/tex]
Step-by-step explanation:
Hello,
as the mean age of 5 people is 40
it means that the sum of the 5 ages is 40*5=200
now a person enters the room, let's note x his age
the new mean is
[tex]\dfrac{200+x}{6}=36[/tex]
[tex]<=>200+x=6*36=216\\<=> x = 216-200=16\\[/tex]
So the age of the new person is 16
hope this helps