Juanita is planting a flower garden. She wants to plant 24 tulips, and twice as many daffodils as tulips. A tulip plant costs $3 . A daffodil plant costs $2. What is the total cost of the tulip and daffodil plants?