Answer: D. Each statement alone is sufficient.
Let a and b be the solo times in hours. The machines finish together in 4 hours, so 1/a + 1/b = 1/4. The question asks for b.
Statement (1) gives a = 6. Then 1/b = 1/4 - 1/6 = 1/12, so b = 12. Sufficient.
Statement (2) gives a = b - 6. Substitute: 1/(b - 6) + 1/b = 1/4. Multiply by 4b(b - 6) to get 4b + 4(b - 6) = b(b - 6). That simplifies to b^2 - 14b + 24 = 0, or (b - 12)(b - 2) = 0.
Here is the trap. The quadratic gives two positive roots, 12 and 2, and two roots tempt you to call the statement insufficient. Test each root against the story first. If b = 2, then a = -4 hours, and no machine works in negative time. Also, B alone cannot finish in 2 hours when both machines together need 4. Only b = 12 survives, with a = 6. Sufficient.
Quick check: both statements lead to a = 6 and b = 12, and 1/6 + 1/12 = 1/4.
Takeaway: in Data Sufficiency, a quadratic does not mean "insufficient." Solve it, then throw out any root that breaks a condition in the question.