The following two examples are good exercises for becoming familiar with the major and minor pentatonic scales with the same form. Ascend the form using the major pentatonic and descend using the minor pentatonic.
Now reverse the process, ascend the form using the minor pentatonic, descend using the major pentatonic.
You could also use this idea to create other exercises. For example, try playing up the dominant seventh arpeggio and down the Blues scale in the same form. If you want to be a great player, it is essential to be equally familiar with all of the five scale and chord forms. Many guitarists play well in the E form only, but how many piano players are only comfortable with only one fifth of the length of the keyboard.
Hopefully, after studying carefully you will know your scales and arpeggios so well that you can forget about them and concentrate on making music. When you reach this point you no longer have to think about finger patterns and numbers, instead you will be relying on your ears and memory and simply choosing the notes which express what you want to play.
The following licks use sounds from all the scales studied so far.
The next lick is reminiscent of B.B King's playing. He is a master of combining major and minor sounds in a completely natural way.