A teacher plans to buy the same number of notebooks and rulers for his classroom. Each notebook costs $5. Each ruler costs $2. Write an expression that represents the total amount of money the teacher will spend on x notebooks and x rulers.