Help make 2 pascal programs

1.Ar random function to get two numbers from 1-6 and 1.no 2.10-20 and to display numbers from the first to 2 and the number of squares.

2.Ar random function to get two numbers from 2-5 and 1.no 2.15-20 and to display numbers from the first to 2 and the number kvadrÄtu.un the square root.