Near the beginning of my fictional worlds history (that is, when things start getting bad)the small population of around 10,000 humans is mercilessly slaughtered by the recently formed population of 10,000 goblins that can turn invisible, and they did it while everyone was sleeping. Luckily, an angelic messenger warned one of the humans about this afew months before this happened and the aptly named "council of swords" turned bloody, but this dude was only able to convince a group of forty-odd people to go to him in the middle of nowhere away from the only site of civilization (on land in the northern hemisphere of this planet) on the night the goblins were planning to kill all the humans. Trust me, they kinda had a good reason to do it, but it was pretty bad, ngl. Nonetheless, the Goblins thought their plan would work pretty well since nobody knew about it, and they could turn invisible, so they had absolutely nobody on the lookout making sure a random group of humans didn't escape. Because of this, the forty people warned by the angel got away perfectly unscathed and unnoticed. The same cannot be said about the goblins, but that is a question for another time.
Nonetheless, about 428 years after this event (the 427th year of the forest, each year is 360 days split into ten months of 36 days and there are no seasons) three evil dark lords come to town and destroy the human homeland they fled to during the "council of swords". Well, between these two points, that homeland developed into an empire (by ancient standards. Certainly not as big as Britains). How do I explain the empire? Note, it didn't take 427 years for the empire developed, the empire fell 427 years after the 40 odd humans that escaped the slaughter of humanity arrived in safety to their new homeland as the only people left in that solar system. How do I explain the existence of that empire given the short amount of time I have to work with?
427 years. Now, I guess I will need to provide some more details, cause my question requires an empire alot earlier than 427 YF (1 YF is when this people group would have started rebuilding). at 367 YF, I need humanity to be large enough and stable enough to have founded a singular kingdom, about the size of Morroco, that is then able to fight a war, almost entirely alone, against magical orcs with a dark spirit who has ludicrous unknown powers so great they might just be able to tear the page in half if they make you angry enough or something. Oh come on, with how long this has to be, I'm trying to entertain you! don't get annoyed. Nonetheless, after a near hopeless conflict, humanity nearly doubles the size of their empire to two Morrocos, and they're both very green, jungly kind of thing, but not as hard to get around as the Amazon. (I think the second Morroco is a little browner) After this war, humanity is still so bold, and populated enough, to send out colonies to random places led by a magic superperson, and all those colonies together would add up to yet another Morrocco, so by the year 410, the empire has to be about three Morrocco's large, and the population is dominated by humans.
Now, not only that, we need to account for the existence of two other populations of humans: the dwarvish farmers and the freemen. The dwarvish farmers are not dwarves; instead they are the humans who get payed by the dwarves to farm their fertile fields so the dwarves don't have to do any of that work, and they get payed in exquisite jewels from the mountainlords they serve that are worth alot of money in their home country of Agoroth (that is the human nation btw). However, this population of farmers in dwarven lands is obviously much smaller then even the population of the colonies, and many of them will only live temporarily in Dwarven lands anyways. The other population of humans outside of Agoroth that I have to account for is the free men (not fremen) who decided (after 367) that they would like to just leave Agoroth and make their way out in the rugged frontier, living under nobody and no-one telling them what to do. They inhabit another area about the size of Morocco; so humans live in four Morocco's, and three of them are in one empire. That fourth Morocco inhabited by the free men is also populated by orcs and stuff, so it also probably doesn't factor into the overall human population too much.
The final thing I need to explain is the existence of an earlier conquering king (pre-367) named Kazentha, whose violent conquest of most human cities led to the guardian of humanity (kinda like a guardian angel, but not really, and he dies in 427)to depose him and establish the kingdom of Agoroth. Kazenthas reign was short lived, maybe five or six years, and there was no functioning empire before that, but I still need to explain how he conquered multiple cities before 367 when humanity literally was reduced to forty-ish people in year 1.
So here's the quicklist of what I need to explain:
367 years after humanity was reduced to forty members, it needs to be able to fight off a civilization of orcs that had ~10000 members 367 years ago (though it had gone through more wars in the mean time).
Sometime before this, I need to know when humanity would have been able to have a large number of independent walled cities (like ten or something) so that I can know the earliest date for the reign of Kazentha and the founding of Agoroth.
Finally, somehow, the population of Agoroth needs to be able to grow fast enough after 367 that humanity is able to colonize, claim, and protect a collection of spread out islands and continental colonies that amount to roughly the area of Morocco before the year 410.
My question is just how big can the human population get in these four centuries and, if I want all the events I have listed, should I extend the timeline?