And here is the improvisation. You should be able to see how I go in and out of the figure we're trying to nail. Also pay close attention to the video, because there are specific fingerings I do that might help certain transitions (if you're ergonomically anything like me that is).
In the tab below, I've also included right-hand pick and finger notations. These are not something that you must absolutely follow, but might be helpful too see, since some things might be easier for you to play if you follow these notations.
And of course, once you've watched this one, get cracking on the backing track!