How your Midterm and final grades Are calculated