Name your fingers from thumb to pinkie. Thumb is I, pinky is V--Roman Numerals. So, thumb at bass G on third fret is I3. Chord is done thus:
I-3, IV-5, V-5, 0, II-3, II-3
The duplication there is from the forefinger covering both the B and E strings at the third fret.