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
![W=5+3x.........\mleft(1\mright)](https://img.qammunity.org/2023/formulas/mathematics/high-school/j2x11zipp1iet0nfmvu2x9zh54rqydkv39.png)
And also, M=4W-3
That is,
![M=4\mleft(5+3x\mright)-3\ldots\ldots\ldots\ldots(2)](https://img.qammunity.org/2023/formulas/mathematics/high-school/o5hhwjn7l0wsyx7gn3ki5a2gr87ww4341o.png)
So, the total number of people in terms of x is,
![\begin{gathered} M+W+C=2838 \\ \lbrack4(5+3x)-3\rbrack+\lbrack5+3x\rbrack+x=2838\ldots\ldots\ldots(3) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/j3dn9zrrl8jnfblrsefv1964sy4s5kp6gh.png)
Solving for x, we get
![\begin{gathered} 20+12x-3+5+3x+x=2838 \\ 16x+22=2838 \\ 16x=2816 \\ x=176 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/cisimd6c0hynhg9ong7g0i967fcj20u3go.png)
Therefore, the number of children is, x=176.
The number of women is,
![5+3(176)=533](https://img.qammunity.org/2023/formulas/mathematics/high-school/rcqco5rwwilsytrcsnfcrauwcsq2msjnqe.png)
Therefore, the number of women is 533.
The number of men is,
![4(5+3(176))-3=2129](https://img.qammunity.org/2023/formulas/mathematics/high-school/np6mdvzvlm0uys5ov9j0jrf11r2aly71u9.png)
Therefore, the number of men is 2129.