Given:
The total number of people is 2838.
The number of women is 5 more than 3 times the number of children.
The number of men is 3 less than 4 times the number of women.
To model this situation in terms of x:
Let x be the number of children.
So, we have
And also, M=4W-3
That is,
So, the total number of people in terms of x is,
Solving for x, we get
Therefore, the number of children is, x=176.
The number of women is,
Therefore, the number of women is 533.
The number of men is,
Therefore, the number of men is 2129.