On a spelling test, Marcy got 15% of the questions incorrect. If there were 40 questions on the spelling test, than how many questions did Marcy get correct?