Random enemy spawning

I want to have enemies that spawn off screen on the roght and left. A random spqwn that spawns more and more enemies as time goes on. How could I achieve this?

Let me tell you briefly about the platform game. For example, let x coordinate be constant and y coordinate variable. You can create the y coordinate of the enemy randomly with a specific time interval. It is in your hands to improve it.

ooldSH.md.jpg
ool79U.md.jpg
ool0zo.md.jpg