To find the HCF of two numbers you first have to split them into their prime factors:
45 = 3x3x5
36 = 2x2x3x3
The next step is to identify any common prime factors. In this example, both numbers have two 3s as prime factors. Multiply these together and you get:
3x3 = 9
Thus the hcf of 45 and 36 is 9.
The hcf of 12 & 36 is 12
The hcf of 45 and 40 is 5.
The GCF is 4.
The GCF is 9.
The GCF is 18.
The GCF is 12.
The GCF is 4.
It is 36
36
The GCF is 12.
The hcf is 12
The HCF is: 2