The 8th grade class is raising money for a farewell fun day at the end of the year. They decide to sell short-sleeved shirts and long-sleeved shirts. Tehy earn a profit of $8 for each short-sleeved shirt and $12 for each long-sleeved shirt. They sell a total of 110 shirts and make a total profit of $1080.