annie and sam set out together on bicycles traveling at 15 and 12 km per hour respectively . after 40 minutes , annie stops to fix a flat tire . if it takes annie 35 minutes to fix the flat tire and sam continues to ride during this time , how many minutes will it take annie to catch up with sam assuming that annie resumes riding at 15 km per hour ?
"annie gains 3 km per hour ( or 1 km every 20 minutes ) on sam . after 40 minutes annie is 2 km ahead . sam rides 1 km every 5 minutes . in the next 35 minutes , sam rides 7 km so sam will be 5 km ahead . it will take annie 100 minutes to catch sam . the answer is e ."
multiply(divide(subtract(divide(12, multiply(subtract(15, 12), divide(40, const_60))), multiply(subtract(15, 12), divide(40, const_60))), subtract(15, 12)), const_60)