Biblical literature leaves a lot of these questions unanswered. You’re supposed to read between the lines. In this case, it’s made clear that there are already other people on Earth by the time Adam and Eve leave the Garden. Here is a great video outlining the genre of literature that stories like Ge