A pencil cost $3.50 and a pen cost $6.70. Jessica bought M pens . She also bought four fewer pencils then pens. Write an algebraic expression for the total amount she spent.