Note: You gave no language to use, so I will tell you the best way to do this using python.
First, for generating random numbers, you should import the random module. Create a new file and at the top put the text "import random". Next, to create the function, you will use the def statement. For each function, put def, then space and the name of the function, then enter two brackets and :. Indent the next line. To choose a random number, use the random module's function of randint, which can be found on the docs. Save these inside of a Tuple inside of a list, which could just be called something like numbers. To output them, just use print(numbers). I'm sorry that I can't help you with the third step.