Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:4/4
K:G
['DGBG dGBG', 'g3 f gbag'  
X:1
L:1/8
M:4/4
K:G
 DGBG dGBG | DFAB cBAF | DGBG dGBG | B/c/dcA BG G2 :| g3 f gbag | fdde fgaf | g3 f gbag | 
 fdcA BG G2 | g3 f gbag | fdde fgaf | defg a3 g | fdcA BG G2 ||  