Step 1: Find the product of a and b. Step 2: Now, find the least common multiple (LCM) of a and b. Step 3: Divide the product of 'a' and 'b' by the LCM of a and b. Step 4: The obtained value after division is the greatest common divisor (GCD) of (a, b).