Chris sells encyclopedias and earns $45 for each set he sells. How many sets did he sell if he earned $540 last week?