There are 10 cookies left.
Explanation:
There were 40 cookies to start with. If Mrs. Lettings class at 1/2 of the cookies, there are now 20 cookies left. Mrs Kim’s class then ate 1/4, because 1/4 of 40 is 10, then they ate 10 cookies. So there are now 10 cookies left