This lick works well with both example one and two, and follows the E minor blues pentatonic scale.
Try picking every note in the run, using mostly legato, or combining both techniques to achieve what may be the most comfortable for your playing.
You most definitely have heard this run, or something similar to it, at some point in listening to music. This style of lick is probably one of the most popular in rock guitar, both modern and vintage!