Jessica worked on a straight 7% commission. Her friend worked on a salary of $850 plus a 6% commission. In a particular month they both sold $18,000 worth of merchandise. How much did Jessica earn in a month?