The ending melody is a 'tip of the hat' to Mr. Guthrie Govan and his track 'Waves'. It uses a great number of position shifts and slides combined with some awkward fingerings. The aim here is to produce a smooth, synth-like sound.
Try to make all your slides smooth and in time and any legato sections as precise as possible. Phrases like this an be pretty hard to memorize so take it a few bars at a time and learn it at the slow tempo.
Oh and watch out for that 2/4 bar!!
For the standard tuning version be sure to check out the TAB at the end of the tutorial.