Step-by-step explanation:
Let g represent the number of gloves purchased and h represent the number of hats purchased.
The gloves cost $12 and a hat costs $8
We need to write an inequality that represents this situation.
Cost of gloves = $12g
Cost of hats = $8h
No more than $56 means [tex]\le 56[/tex].
We can write the inequality as follows :
[tex]12g+8h\le 56[/tex]
Hence, this is the required solution.