The 7th fret on the Lower E is not a D! It's a B!
Originally Posted by metalhead
Here's a way to look at it.
The basic chord formulae are:
1. Major chord: Root, (major) 3rd and (perfect) 5th - 1 3 5
2. Minor chord: Root, minor 3rd and 5th - 1 b3 5
3. Diminished chord: Root, minor 3rd, diminished 5th - 1 b3 b5
4. Augmented chord: Root, 3rd, augmented 5th - 1 3 #5
So your B major consists of B E and F#
For the B major (in the order root, 3rd, 5th) you would need to play this
The 9th fret on the 4th string is your root, whereas the 9th fret on the 5th string is the perfect 5th; and the 8th fret on the 3rd string is your major 3rd. So you have the notes B, F#, B and E.
Now consider this:
M3 = 4 half steps from the previous note
m3 = 3 half steps from the previous note
1. Major chord: (Root) M3 m3
2. Minor chord: m3 M3
3. Diminished chord: m3 m3
4. Augmented chord: M3 M3
So using this you can form any of the 4 basic triad chords. Soon enough you will realise why chord inversions are essential on a guitar
There isn't really a question of scale, because a D major chord, is, unsurprisingly made from the notes of the D major scale. However the key would be something to consider because then you can use the scale of the key to solo (the simplest way). To find the key you need to identify the other note.
how would recognise the scale and other notes?
As for recognising the other notes, read above
Everything's Eventual (tm)
Scarborough Fair/Canticle (Cover)