There are 24 children in the class, there are 10 girls and 14 boys, I want to make goodie bags for my birthday. I want pink bags for the girls and green for the boys. The pink bags cost 2 dollars each and the green cost 4 dollars each. How much would I have to spend on the goodie bags?