In a fundraising campaign, each small candle sold brings in a profit of $1.20, and each large candle sold brings in a profit of $2.80. The campaign must raise exactly $640 in profit and plans to sell exactly 400 candles in total.
If x is the number of small candles the campaign sells, which equation can be used to determine x?