A greatest common factor is the greather number that divide exactly two numbers.
You have the numbers 18 and 20
To find the greatest common factor you find the dividers of each number (the numbers that can divide 18 and 20 exactly):


The common factors are: {1,2}
Then, the greatest common factor of 18 and 20 is 2