While still playing right along with the comp rhythm the second solo steps it up a notch with yet another soloing concept. The Gm9 in bars 1 and 3 get a more D minor pentatonic feel played over them to help bring out the 9th (A) of the chord. When a secondary melodic idea such as this is played over the primary harmony this is called superimposition and, trust me, it's very cool. There are so many places this approach can take you and I explore it more deeply throughout some of my other courses such as Juiced Blues and Guitar Cubed. However you dig into superimposing over changes, I highly recommend you spend some time investigating the subject. It will change your playing in a very good way.