Work out the weighted final grade