So I have a solution for this exercise:
$\binom{6}{k}$ * $\binom{39}{6-k}$
I just have troubles understanding why it works. So the left part is where you "choose" how many numbers you want to be correct which you then multiply (why?) by the amount of different combinations from the remaining 39 numbers if you want to choose unique combinations of 6 minus the amount of numbers you want to be correct.
Hope someone can help me
Kind regards