Solution

10=1 x 2 x 5
8=1 x 2 x 2 x 2

HCF = 1 x 2 = 2

Step 1

Find prime factors of number 10

10 = 1 x 2 x 5

Step 2

Find prime factors of number 8

8 = 1 x 2 x 2 x 2

Step 3

Find common factors and multiply them to get HCF.

10=1 x 2 x 5
8=1 x 2 x 2 x 2

HCF = 1 x 2 = 2