Develop a melodic piece that matches the specified chord pattern.
'G', 'Am', 'C', 'G', 'G', 'Em', 'G', 'G', 'Am', 'G', 'G', 'Em', 'C', 'D', 'Em', 'G', 'Em', 'G', 'Am', 'G'  
X:1
L:1/4
M:4/4
K:G
 G/A/ |"G" B G G A | B2 G A/B/ |"Am" c A A B |"C" c2"G" B A |"G" G g"Em" g e |"G" d2"G" B B/c/ | 
 d d"Am" c/B/ A |"G" G3 :: B/A/ |"G" G g g3/2 f/ |"Em" e d"C" c B |"D" A a a3/2 g/ | f d"Em" e f | 
"G" g3/2 a/"Em" g e |"G" d2 B B/c/ | d d"Am" c/B/ A |"G" G3 :|  