The prime factorizations of 30 and 42 are shown.

30 = 2 × 3 × 5
42 = 2 × 3 × 7

Which product is the greatest common factor of 30 and 42?