Cathy earns $13.50 per hour for the first 40 hours worked in a week and 20.25 per hour for hours over 40. If she earns 661.50 one week, how many hours does she work?