If John mows 40% of the lawn in 20 minutes, we can set up a proportion to find out how long it would take him to mow 100% of the lawn.
Let \( x \) be the total time to mow the whole lawn. Since 40% corresponds to 20 minutes, we can express this as:
\[ \frac{40}{100} = \frac{20}{x} \]
Cross-multiplying gives us:
\[ 40x = 2000 \]
Now, solve for \( x \):
\[ x = \frac{2000}{40} = 50 \]
So, it would take John a total of 50 minutes to mow the entire lawn.