For this case we define the following variable:
x: time it takes A to perform the job separately.
We then have the following equation:
From here, we clear the value of x.
We have then:
Therefore, the time it takes for B to complete the work is:
Answer:
B will spend 12 hours doing that work separately