Watch the Billy Rock online guitar lesson by Angus Clark from Essentials: Radio Rock Solos
The form is the key thing here as far as composing a solo. There’s a little vamp at the top and tail, so you'll want to come up with something catchy and repetitive. Then there’s the meat of it where the chords are just going from F to G, where you'll want to treat each chord like its own tonal center.
Vamp: Just follow the chords with a repeated motif. Done.
Lick 1: On the F chord, play an F Major pentatonic, on the G chord, play a G major pentatonic.
Lick 2: Little bend to the major 3rd on each chord, again, playing the same lick on each chord.
Lick 3: This is a challenging lick that involves bending in the diatonic scale to create a slightly pedal steel inspired sound.
Lick 4: Welcome to the major scale! Then, back to the vamp.