Trey went to the batting cages to practice hitting. he rented a helmet for $4 and paid $0.75 for each group of 20 pitches. if he spent a total of $7 at the batting cages, how many groups of pitches did he pay for?