[1] 3a + 2b = 2
6a + 2b = k - 3a - ab
[2] 9a + (2 + m) * b = k
Equation [1] is equivalent to
[3] 9a + 6b = 6
There are an infinite number of solutions if [2] and [3] are equivalent. That is true only if the coefficients of b in both equations are the same and the constants in both are the same.
2+m = 6 --> m = 4
k = 6
ANSWERS: k = 6; m = 4