Question: 40 is 8 of what?
Answer: In other words, you know that 8 percent of a number is 40 and you want to know what that initial number is. Therefore, you can derive that 8 percent of 500 equals 40.