Help me to solve sample size determination problem

Can anyone help me solve the sample size like the one in the image attached? The research we're working on is about the effects of social media on the mental performance of 1st year students in our school. We're gonna be gathering data from 3 sections of 1st year students in our school and I'd like to know how to get the estimation of the sample size. Help me please