The first carpenter is 0.4464 of the way is ahead of the second carpenter
Solution:
Given, Two carpenters are building a fence
After 5 minutes, one carpenter is finished 4/7 of the way
Second carpenter finished 1/8 of the way
Now, let us find the work done by each carpenter

Then, extra work done by first carpenter over second carpenter = work done by first carpenter – work done by second carpenter
= 0.5714 – 0.125 = 0.4464
Hence, the 1st carpenter is 0.4464 of the way is ahead of the 2nd carpenter