Mike spent $40 at the music store. He bought a cd for $20 and some cassettes for $4 each. How many cassettes did mike buy?