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