A’s 1-day work = (81)
B’s 1-day work (destruction) = (−31)
Work done by A in 4 days
4×81=21
So, half the wall is completed.
Remaining work = (21)
Work when A and B work together for 2 days
Net 1-day work of A + B:
81−31
LCM = 24:
243−8=−245
So together they are destroying work.
Work in 2 days:
2×(−245)=−125
So instead of completing, they reduce the completed work.
Work after 6 days total
Initial completed work = (21)
Loss due to A + B working = (125)
21−125
LCM = 12:
126−5=121
So remaining work = (1211)
A alone completes remaining work
A’s rate = ( \frac{1}{8} )
Time:
1/811/12=1211×8=1288=322
Convert to mixed fraction
322=731
Final Answer
731 days