First you have to learn how to generate random numbers.
Do you know how?
You need those numbers to be within 1,000,000,000 and 2,147,483,647
Do know what data type to use?
Once you have that part of the code working, then you need to learn how to convert numbers into strings.