I've got a problem set from my workshop, and cannot figure out how to deal with it.

The variables are :
1) relativescore: transition scores relative to the cutoffs that allow the opportunity to access a higher-ranked school
2) score: transition scores
3) bexam_grade: the baccalaureate exam grade

First, generate means of two variables (score and bexam_grade) collapsed into cells containing individuals who are within 0.01 of a transition scores relative to the cutoffs and restrict observations to individuals with transition scores within 0.2 points of a cutoff.

Then report the summary statistics for the three variables (relativescore, score, and bexam_grade) after collapsing into 0.01 point cells.

Is there anyone who can help me with this? Thank you.