I generally use take a constant (LCM) and a production example for this kind of questions.
Assuming that Jane and Ashley's work is production of certain number of Toys
In 20 days Jane completes making certain number of Toys and the same number of Toys takes 40 days for Ashley to complete, so we take the LCM (Lowest common Multiple) which would be the target work = 80 toys to complete
From above assumption we know that Jane completes 4 toys / day as in 80/20 days
And Ashley completes 2 toys / Day as in 80/40 days
Now if both worked without any break they would take 80/4+2 days to complete which is 13.333 days, so that eliminates choice (A) = 10 days
Now plugging in choices, B - Jane completes (15-8)*4 = 28
Ashley completes 15*2 =30
Total work in 15 days with 8 days break by Jane = 28+30 = 58 toys
Jane works for 4 days on her own = 4*4 = 16 toys
So in 15 days ( both Jane & Ashley)+ 4 days(only Jane) they complete 58+16 =74 toys, 6 short of the target of 80
Plug in choice C - Ashley completes 16*2= 32 toys
Jane completes 8*4 = 32 toys
Total in 16 days = 64 toys
Jane takes 4 days on her own, 4*4 = 16 toys
So in 16 days ( both Jane & Ashley)+ 4 days(only Jane) they complete = 64+16 = 80 toys which is the target.
Ans : E