You have 85% and your final is worth 40%

For an A (90%)97.5%
For a B (80%)72.5%

Different numbers? Use the calculator.