Find the value of k for which each of the following systems of linear equations has an infinite number of solutions:
2x+3y=7,(k−1)x+(k+2)y=3k.
For what value of k will the following pair of linear equation have no solution?
2x+3y=9,6x+(k−2)y=(3k−2).