2. At the location of Gornje Zuče during the census of 3019, $\frac{5}{8}$ were men, and of them, $90 \%$ were younger than 75 years, while $96 \%$ of the female population were younger than 75 years. In the next census of 3029, it was found that the total number of inhabitants had increased by 300, while the number of people aged 75 and over remained the same as in the previous census, but now represents $7 \%$ of the total population. How many inhabitants did Gornje Zuče have in the previous census of 3019?
2. Let $x$ be the total number of inhabitants in the previous census in 3019. The number of males was $\frac{5}{8}$, and $10\%$ of them were 75 years old or older, which is $\frac{5}{8} \cdot \frac{1}{10} x = \frac{x}{16}$. The number of females was $\frac{3}{8}$, and $4\%$ of them were 75 years old or older, which is $\frac{3}{8} \cdot \frac{4}{100} x = \frac{3x}{200}$. Therefore, the total number of people 75 years old or older was $\frac{x}{16} + \frac{3x}{200} = \frac{31x}{400}$. Since this number represents $7\%$ of the new population, which is 300 larger than the old population, we have the equation $\frac{31x}{400} = \frac{7}{100}(x + 300)$, which simplifies to $3x = 8400$, or $x = 2800$. Therefore, Gornje Zuce had 2800 inhabitants in the census of 3019.