The lick uses notes from the A major pentatonic scale within the A bar chord form at the 5th fret.

In the first bar the lick climbs up the major pentatonic to the F# note at the 7th fret of the B string, the scale's 6th. This note is also the major 3rd of the D chord. The example slides up to this note, but you could also use a bend or play the F# directly. In any case give the note a little vibrato for emphasis.

The second bar echoes the lick using notes from the same position. The ending note is again the major 3rd of the D chord.

Ending phrases on the major 3rd like this supports the harmony. This technique helps to give your soloing a feeling of movement as it follows the progression's chord sounds.

If you'd like to read more about playing licks over the IV chord, and others, then sign up for the site's RSS feed.