Problem 5 : we can take some multiples of 6 to find this answer .
6 _we have it's factors : 1*6 and 2*3 and hence we get two possible sums 7 and 5.
12 _ we have it's factors: 1*12, 2*6,3*4 and we get some other sums 8 and 7( as a dice can't show 12 we ain't gonna take that case)
18_ we have it's factors _ 1*18,2*9,3*6 and we get sums 9 only ( as a dice can't show 12 and 9 we aren't taking that case)
We see that we get all the options 5,7,8,9 but not 6 hence we get answer as 6 .
Logic 2 : if we break 6 into all possible groups of two numbers having sum 6 and multiply each of those cases, we will get a multiple of 6 in none of those cases . Hence the answer is 6 , again.