A coffee stand sells cups of coffee for $6 and cups of tea for $3. Tuesday a total of 75 cups were sold and the total money collected was $312. How many cups of coffee and how many cups of tea were sold