how to calculate final mark after exam