For a school fundraiser, Elena will make T-shirts. She will order T-shirts and print graphics on them. Elena must spend $349 on a printing machine and $4.80 per shirt for the blank shirts, ink, and other supplies. How much does it cost to make 40 shirts?