The given system of equations:
kx + 3y = (2k + 1)
⇒ kx + 3y - (2k + 1) = 0 ….(i)
And, 2(k + 1)x + 9y = (7k + 1)
⇒ 2(k + 1)x + 9y - (7k + 1) = 0 …(ii)
These equations are of the following form:
a1x+b1y+c1 = 0, a2x+b2y+c2 = 0
where, a1 = k, b1= 3, c1 = -(2k + 1) and a2 = 2(k + 1), b2 = 9, c2 = -(7k + 1)
For an infinite number of solutions, we must have:

Now, we have the following three cases:
Case I:

⇒ k(7k + 1) = (2k + 1) × 2(k + 1)
⇒ 7k2 + k = (2k + 1) (2k + 2)
⇒ 7k2 + k = 4k2 + 4k + 2k + 2
⇒ 3k2 – 5k – 2 = 0
⇒ 3k2 – 6k + k – 2 = 0
⇒ 3k(k – 2) + 1(k – 2) = 0
⇒ (3k + 1) (k – 2) = 0
⇒ k = 2 or k = −1/3
Hence, the given system of equations has an infinite number of solutions when k is equal to 2.