No one works for 2 consecutive days means we can allow A B and C to work like following
First day A and B works Second day A+C works and third day B+C works and then again the cycle goes
So in three days days they complete (13/30) part of work done
Next 3 days Total work done = 26/30 part
Remaining 1-(26/30) = (4/30) part
A and B takes (4/5 ) time to complete it
So 3+3+4/5 = 6(4/5) days