This intermediate solo comes in two flavors: Level 1 and Level 2. They are essentially the same melody, but Level 2 incorporates bends and faster runs in bars 8 and 16. There are two harmonies – a high and low for each level.
The chord progression puts us in the key of F minor with a C7 chord borrowed from A harmonic minor. The bulk of the solo is F minor (aeolian) with some notes borrowed from C phrygian dominant (F harmonic minor) and an E diminished arpeggio.