Given the numbers:
36, 42, 54, 28, 84, 77
A number has 6 as a factor if it ends in 0, 2, 4, 6, or 8, and if the sum of all the digits is a multiple of 3.
Only 77 do not meet the first condition. Now, we add the digits:
The numbers which have 6 as a factor are:
36, 42, 54, 84