Three notes of a triad are shown on one set of adjacent strings. Name the quality and which inversion it is — that is, whether the root, the 3rd or the 5th is the lowest note.
Counting on the neck. One fret is one semitone. Neighbouring strings are 5 semitones apart — except G to B, which is 4. That single exception is why the same chord looks different on the top two string sets.
Worked example. On strings 2-3-4: D string fret 2, G string open, B string fret 1. Those are E, G and C. The gaps going up are E→G 3, G→C 5, then C wrapping round to E 4. The biggest is 5, so the root is the note above it: C. Above C the gaps run 4 then 3, so it's major. The lowest note is E, which is the 3rd — so 1st inversion. That makes it C major, 1st inversion.