Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/4
M:4/4
K:G
['G G G/A/B/c/ d/d/ d d e/d/', 'e d'  
X:1
L:1/4
M:4/4
K:G
 D | G G G/A/B/c/ | d/d/ d d e/d/ | c/c/ c c d/c/ | B/B/ B B3/2 A/ | G G G/A/B/c/ | d/d/ d d e/d/ | 
 c A/A/ A F | A G G :| d | e d B G | G F F2 | e d c A | A G G B/d/ | g g g a/g/ | f e e3/2 e/ | 
 d B/d/ c/A/F/G/ | A G G :|  