How to calculate the greatest common factor and the least common multiple

How to calculate the greatest common factor and the least common multiple

For example: find the least common multiple of 8 and 9
Because 8 and 9 are prime to each other
So their product is the result
8x9 equals 72