the tennis team is having a bake sale. cookies sell for $1 each, and cupcakes are $3 each. If Connie spends $15 for 7 items, how many cupcakes did she buy?