Begin the pattern with your second finger on the sixth string. This is the only pentatonic scale pattern that requires a "position shift" - when you reach the second string, you'll need to shift your hand up one fret. When you play back down the scale, you'll need to change position again, when you reach the third string.
Play the scale forwards and backwards, until you've memorized it.
To use this pattern as a minor pentatonic scale, the root of the scale is played by your fourth finger on the fifth string. To use this pattern as a major pentatonic scale, the root of the scale is played by your second finger on the fourth string.