so, there are 4 men working for 6 hours each, after the 6 hours, each man has worked 6 hours each, the total amount of "workhours" is 4 * 6, or 24 workhours, it took 24 workhours to do the whole job.
now, how long will it take for 7 men working at the same rate?, 24/7 <--- that many hours.
the division will give how long each man worked, and since it will be the same amount for each, that many hours it took for the whole job being done by the 7 of them.
[tex]\bf \cfrac{24}{7}\implies 3\frac{3}{7}\implies \textit{about 3 hours 25 minutes and 43 seconds}[/tex]