a concession stand sells bags of popcorn for 3$ and cotton candy for 2$. a customer purchased bags of popcorn as well as cotton candy and spent 12$. If the customer brought 3 orders of cotton candy, how many bags of popcornwere purchased?