If he earns $12 per hr for 40 hrs of week and earns $18 per hr for hours worked over 40 how many hrs did he work if he earned $642