You are given that:
It takes 60 minutes for 7 people to paint 5 walls.
Consider: Rate $\times$ Time $=$ Output.
Let us consider "Rate" to mean the rate at which one person works.
And rather than writing out the whole word, let us just write $R$.
In the given: $7R \times 60$ minutes $=$ $5$ walls.
Omitting units and rearranging, we have: $7R = 5/60 = 1/12$.
Dividing both sides by $7$, we get $R = 1/84$.
Then you ask:
How many minutes does it take 10 people to paint 10 walls?
Set up similarly, we have: $10R \times t$ minutes $= 10$ walls.
Dividing both sides by $10$ and omitting units, we have: $R \times t = 1$.
But we know $R = 1/84$, so this says: $t/84 = 1$.
To finish off matters, multiply both sides by $84$ to obtain: $t = 84$.
It takes eighty four minutes.
Here is an alternative approach, just for fun. Omitting units throughout:
In both scenarios, the rate of work is the same; we will use this to solve the problem.
Note: Rate $=$ Output $\div$ Time.
In scenario one, the rate of one person working is: $5/(60\cdot 7).$
In scenario two, the rate of one person working is: $10/(t\cdot 10).$
We need to solve for $t$, but these expressions are equal. Let us simplify the resulting equation:
$$\frac{5}{60 \cdot 7} = \frac{10}{t \cdot 10} \implies \frac{1}{12 \cdot 7} = \frac{1}{t}$$
Equating denominators (or "cross multiplying") we find $t = 12 \cdot 7 = 84$.