if a number has 2 and 6 as factors then it has 12 as a factor
This statement is false. We can see that with one example: number 6 has 6, 3 and 2 as factors. It has 2 and 6 as factors, like it is said in the statement, but 12 is not a factor, because it's greater than the number.
if a number has 12 as a factor then both 2 and 6 are factors​
This statement is true. We can see that 12 and all it's multiples have 2 and 6 as factors, because 2 times 6 is 12.