Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:2/4
K:G
['D2 GA B4 c2 BA d4 dBGB', 'dcBc d2 e2 A2 e2 d4 edcB'  
X:1
L:1/8
M:2/4
K:G
 D2 GA B4 | c2 BA d4 | dBGB B2 A2 | cAFA A2 G2 | D2 GA B4 | c2 BA d4 | dBGB B2 A2 | cAFA G4 :: 
 dcBc d2 e2 | A2 e2 d4 | edcB c2 A2 | dcBA B2 G2 | dcBc d2 e2 | A2 e2 d4 | edcB c2 A2 | dcBA G4 :|  