Let's assume that the elevator has a weight capacity of W pounds.
We can set up two equations to represent the number of adults (A) and the number of children (C) the elevator can hold:
Averaged weight per adult * Number of adults + Averaged weight per child * Number of children ≤ Weight capacity of the elevator
Using the given values, we can substitute:
150A + 40C ≤ W
This equation represents the weight limit of the elevator, where the sum of the weight of all adults and children inside the elevator cannot exceed W.