For Divisible by 6 it must also be divisible by 2 and 3. Therefore, we need to check if a number is even and then check if the sum of the digits is divisible by 3.
Now, Let us use the above rule as follows :−
For 456, it is an even number and 4+5+6=15 which is divisible by 3.
Similarly, For 618 it is an even number and 6+1+8=15 which is divisible by 3.
Therefore, Both numbers are divisible by 6
Now, Sum →456+618=1074
Applying the same Rule as above,For 1074, it is an even number and 1+0+7+4=12 which is divisible by 3.
Therefore it is divisible by 6