Answer:
24
Step-by-step explanation:
The GCD of a set of numbers is the product of the prime factors, each to the lowest of the powers it has as a factor of any of the numbers.
The LCM of a set of numbers is the product of the prime factors, each to the highest of the powers it has as a factor of any of the numbers.
__
The factorizations of the given numbers are ...
36 = 2^2 × 3^2
54 = 2 × 3^3
__
6 = 2 × 3 . . . . . . . . . . . GCD
216 = 2^3 × 3^3 . . . . . LCM
This tells us the lowest powers of 2 and 3 are 2^1 and 3^1, and the highest powers of 2 and 3 are 2^3 and 3^3. Already, the lowest power of 2 matches the GCD, and the highest power of 3 matches the LCM. What we need is a number with a power of 2 that is 3, and a power of 3 that is 1:
2^3 × 3^1 = 24
The other number is 24.