I got the same as in the example. If you read the notes below it, it does explain why. What you haven’t taken into account is that the £500 takes up part of the basic rate allowance therefore £2650 would be at 40%.
Also in future this is more likely an ask the tutor question and so you’d be better off using the tutor forums to ensure they see them.