Person A would take 6 days and Person B would take 12 days.
Explanation:
Let
be the work to paint the house.
Let
be the time taken by person A to do
.
Let
be the time taken by person B to do
.
Let
be the speed of person A to paint.
Let
be the speed of person B to paint.
It is given that person A can paint 2 times as fast as person B.

So,person B would take twice time as taken by person A.


It is given that both of them would take 4 days to paint the house.

substituting

Total time to produce=


