IDNLearn.com makes it easy to get reliable answers from experts and enthusiasts alike. Our Q&A platform offers detailed and trustworthy answers to ensure you have the information you need.

A shop sells a party hat at x dollars and a mask at y dollars. On a particular morning, 10 hats and 20 masks were sold for $30. In the afternoon, 8 hats and 10 masks were sold for $18. What is the cost of one hat and one mask? Let Hat be "H" and Mask be "M"