The correct answer is (A):
Let the time taken by A to finish the job be “a” days.
Time taken by B to finish the job = 5/4 a days.
Part of the job completed when A and B worked together for 4 days = 1 = 1/2-5/100 = 9/20
4(1/a+1/5a/4) = 9/20 ⇒ a = 16
Time taken by B alone to complete the entire job = 5a/4 = 20 days.