You have 90% and your final is worth 40%

For an A (90%)90.0%
For a B (80%)65.0%

Different numbers? Use the calculator.