You should be able to see that the C major pentatonic scale uses all the notes from a C chord, plus a couple of extras. Play through the chord and scale before attempting this Keith Richards ...
If you look closely at these arpeggio/chord shapes and compare them to shape 3 of the major pentatonic scale, you’ll see the shared notes. It’s unlikely we’d come up with note groupings like ...