economics of education

Please answer these questions.

I am interested in the course performance of people who attend office hours. (a) Write out a mathematical expression for the average midterm grade that students who ever attend office hours would get if they never attended office hours.