In the question, it says that John had bought a $5.00 magazine. So, we already know that he used $5.00 for a magazine, and used up exactly $25.00. This must mean that he used $5.00 for each eraser because he used up $20.00 for four erasers. 4x5 = 20.