It takes 42 minutes for 6 people to paint 7 walls
Solution:
It takes 54 minutes for 4 people to paint 6 walls
To find: Minutes required for 6 people to paint 7 walls
If
men can do
work in
days working
hours per day and
men can do
work in
days working
hours per day, then

M = Number of men
D = Number of days
H = Number of hours per day
W = Amount of work
Here in this sum,
54 minutes for 4 people to paint 6 walls

Minutes required for 6 people to paint 7 walls

Substituting the values in formula, we get

Thus it takes 42 minutes for 6 people to paint 7 walls