factors of each number and get the greatest common factor

1. 12 and 30 2. 20 and 35

3. 16 and 40​