The shape of the next chords is the same as the one we used for the Fmaj7 chord minus the lowest finger. This particular shape is a major triad that means we fret all the notes in a major chord in the right order: in this particular case, at the 5th fret, we have the root (A on the 4th string), major third (C# on the 3rd string) and the fifth (E on the 2nd).
If we play only these strings, we can move this shape around the neck and we will always get a major chord starting from the lower note: at the 3rd fret we'll get a G major, at the 10th fret a D major.
When we use this shape with the open E and A strings we can get a few interesting chords.
The first example is an A major chord where the high E is repeated on the first and second strings.
In the second chord we add an high B on the first string to get an interesting A9.
In the third example we move the whole shape down two frets and if we play only the fretted strings we have a G9 chord while if we also play the open A we get a a G9 over A. We can 'spell' the chord taking the low A as the root and so we can also call it an Asus4/7/9: we can call some chords with different names.