First, let's subtract.
If Rita earned 20 points on the quiz, and then lost 5 for poor penmanship the equation will look like 20 - 5 = 15.
Then, if she earned 10 points for extra credit, we add 15 and 10 to get 25.
20 - 5 + 10 is what the equation should be.