For certain values of k and m, the system
3a + 2b = 2 - 7a + 5b
6a + 2b = k - 5a + mb + 17 - 11a + 18b
has infinitely many solutions (a,b). What are k and m?