Rebecca's buys some scarves that costs $5 each and 2 purses that cost $12 each. The cost of Rebecca's total purchase is $39. What equation can be used to find n, the number of scarves that Rebecca buys?