I feel that I could solve this question normally, especially given the closely-related question on this site, but I'm having trouble approaching it by induction.
I assume that 5a + 7b = n is true, then I try to show that it holds true for n+1. I'm assuming that I can't use the same a and b for the second equality, so I wrote it as 5a₂ +7b₂ = n+1.
From here, I substituted 5a + 7b for n, simplified and got to 5(a₂ - a) + 7(b₂ - b) = 1. I'm not sure if that's right or where to go from here