Megan buys 3 bracelets and 3 necklaces. Each bracelet costs $3. Megan pays the cashier $40 and gets $4 in change. Which equation could be used to find the cost, n, of one necklace?