-- 5 people paint 5 walls in 52 minutes.
-- 5 people paint 1 wall in (52/5) minutes
-- 1 person could paint 1 wall in (5)x(52/5) = 52 minutes
-- 1 person could paint 20 walls in (52 x 20) = 1,040 minutes
-- 20 people could paint 20 walls in (1,040/20) = 52 minutes
===============================================
An easier way:
-- 5 people paint 5 walls in 52 minutes
-- If there are 20 walls, that's 4 times as much work. If you put 4 times as many people on the job, they can get it done in the same amount of time . . . . . 52 minutes.