I can see the answer to this in my textbook; however, I am not quite sure how to solve this for myself . . . the book has the following:
To take advantage of the inductive hypothesis, we use these steps:
$ 7^{(k+1)+2} + 8^{2(k+1)+1} = 7^{k+3} + 8^{2k+3} $
$$ = 7\cdot7^{k+2} + 8^{2}\cdot8^{2k+1}\\ = 7\cdot7^{k+2} + 64\cdot8^{2k+1}\\ = 7(7^{k+2}+8^{2k+1})+57\cdot8^{2k+1}\\ $$
While the answer is apparent to me now; how exactly would I go about figuring out a similar algebraic manipulation if I were to see something like this on a test? Is there an algorithm or a way of thinking about how to break this down that I'm missing? I think I'm most lost regarding the move from the second to last and last equations.
Source: Discrete Mathematics and its Applications (7th ed), Kenneth H. Rosen (p.322)
I don't think there is an algorithm for that, but I'd start by simplifying $$ 7^{n+2} + 8^{2n+1} = 49\cdot 7^n + 8 \cdot 64^n $$ Now note that $49+8=57$ and $64-7=57$, which at least suggests where $57$ comes from.
This observation is probably useful if you write $64^n=(57+7)^n$ and use the binomial theorem.