Answer:
24 minutes
Explanation:
Fred can mow a lawn in 60 minutes.
Fred's Rate

Rocky can mow the same lawn in 40 minutes.
Rocky's rate

Let the time it will take both of them = x minutes
Therefore:

It would take the two of them 24 minutes to mow the lawn.