To earn money for a contest, the math team pays $40 for a box of spirit banners. They sell each banner for $3.50. Write an equation for the amount of they will earn.