Using the fraction method, B works for the entire duration and completes the remaining work in 17 days, meaning B's total work done is 17 divided by 35. The work done by A and B together is 1 minus 17/35, which equals 18/35. Since A and B's combined daily work rate is 1/28 plus 1/35, the least common multiple of 28 and 35 is 140, making their combined rate 5/140 plus 4/140, which equals 9/140 per day. The time they worked together is the completed fraction divided by their daily rate, so 18/35 divided by 9/140 equals 18/35 times 140/9, which simplifies to 8 days.