It takes 5 people 24 min to set up all the tables in the restaurant. how long will it take 3 people to set up all the tables? With formula please.

Each person can do it in 5*24 min.

So three combined can do it in 5*24/3 minutes...40 min.