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 15 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 . in the next 15 minutes , sam rides 3 km so sam will be 1 km ahead . it will take annie 20 minutes to catch sam . the answer is a ."
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)