In an economy, if the proportion of people who are below 18 years is 40%…