Answer:
28 minutes
Step-by-step explanation
Imagine that each person is assigned one wall, and all 7 people begin painting at the same time.
Since everyone will finish painting their assigned wall after 28 minutes, it takes one person 28 minutes to paint one wall.
If we have 14 people and 14 walls, we can again assign one wall to each person.
Everyone will take 28 minutes to paint their assigned wall.
In other words, it takes 28 minutes for 14 people to paint 14 walls
hope this helps :P