Answer:
3
Explanation:
Given the LCM of 18 and 21 is 126, you want the HCF.
LCM and HCF
The relation between two numbers, their LCM and HCF is ...
LCM(A, B) = A·B/HCF(A, B)
Then the HCF is ...
HCF(A, B) = A·B/LCM(A, B) = 18·21/126 = 3
The highest common factor is 3.
__
Additional comment
By Euclid's algorithm, 21 mod 18 = 3; 18 mod 3 = 0, so 3 is the HCF.