Here's a proof in Fitch, which has a built in Peano Induction rule:
![enter image description here](
As you can see, the only 'trick' is to just ignore the inductive hypothesis for the inside inductive proof, but instead to use the inductive hypothesis for the outside inductive proof