If the pair of linear equations3x+2y=1(2k+1)x+(k+2)y=k−1Has infinitely many solution, then the value of k is