Here are two different problems that I need help understanding.

If 15 workers can pave 18 driveways in 24 days, how many days would it take 40 workers to pave 22 driveways?

And a similar question:

If 500 pounds of mush will feed 20 pigs for a week, how many days will 200 pounds of mush feed 14 pigs?

They give the solutions but I don't understand them. Perhaps someone can give me THEIR way of solving it... by the way, the answers are 11 and 4.