6 Jenna bought n notebooks which cost 5 dollars each, and 3 pens which cost r dollars each. How much money did she spend?