Jacob has several babysitting jobs.on one job ,he earned $10 an hour plus an extra $20 since there were 3 children.On another job , he earned $15 an hour.He earned the same amount of money at both jobs .how many hours did he work and how much did he earned?