By definition, the contribution is revenue less variable costs, which is always the same as profit plus fixed costs.
Have you watched my lectures on CVP analysis? The lectures are a complete free course for Paper F5 and cover everything needed to be able to pass the exam well.