Problem: jane and ashley take 8 days and 40 days respectively to complete a project when they work on it alone . they thought if they worked on the project together , they would take fewer days to complete it . during the period that they were working together , jane took an eight day leave from work . this led to jane ' s working for four extra days on her own to complete the project . how long did it take to finish the project ?
Rationale: "let us assume that the work is laying 40 bricks . jane = 5 bricks per day ashley = 1 brick per day together = 6 bricks per day let ' s say first 8 days ashley works alone , no of bricks = 8 last 4 days jane works alone , no . of bricks = 20 remaining bricks = 40 - 28 = 12 so together , they would take 12 / 6 = 2 total no . of days = 8 + 4 + 2 = 14 answer is a"
annotated_formula: add(add(divide(subtract(subtract(const_1, multiply(const_4, divide(const_1, 8))), multiply(add(const_4, const_4), divide(const_1, 40))), add(divide(const_1, 8), divide(const_1, 40))), add(const_4, const_4)), const_4)