Given: A and S working alone can complete a work in 20 and 30 days respectively Working together, S left the work 5 days before completion. Formula used: The efficiency of a person is the inverse of the time taken Calculation: According to the question: Per day efficiency of A=201​ Per day efficiency of S=301​ Working together, per day efficiency =201​+301​ ⇒ 603+2​=605​=121​ Let together they worked for d days Then, total work gets completed in d + 5 days ⇒ 12d​+205​=1 ⇒ 12d​=43​ ⇒ d = 9 Now, d + 5 = 14 ∴ Total work gets completed in 14 days.