Develop a melody based on the provided set of chords.
'G', 'D', 'G', 'D', 'G', 'G', 'D', 'G', 'D', 'G'  
X:1
L:1/8
M:2/4
K:G
|:"G" BB A>A | GG E2 | GG A/G/E |1"D" DG"G" G>A :|2"D" DG"G" G2 |:"G" B2 d2 | B2 G2 | AA B/A/G |1 
"D" DG"G" G>A :|2"D" DG"G" G2 |]  