Find the value of k for which each of the following systems of linear equations has an infinite number of solutions:
kx+3y=(2k+1)2(k+1)x+9y=(7k+1).