The airmail rates to a country are shown.
Type | Mass | Cost |
Letters |
First 6 g | 30g¢ |
Every additional 3 g or less | 8g¢ | |
Postcards | Per piece | 40¢ |
Ivan sent 3 postcards and a letter. The letter weighed 8 g. How much did Ivan pay in total? Give your answer in terms of g in the simplest form.