Ok so firstly, the waitress earns three dollars every hour, so for every hour she works, she earns three dollars. So if she works three hours, she gets 9 dollars (3*3)
The waitress also earned tips 12+5+7 is 24
So we plus 24 and nine together to 33
Therefore, the waitress earned a total of 33 dollars