Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/16
Q:1/4=100
M:2/4
K:D
['G2B2 BGBG F2A2 AFAF', 'f2d2 f2d2 fdfg a4'  
X:1
L:1/16
Q:1/4=100
M:2/4
K:D
 G2B2 BGBG | F2A2 AFAF | G2e2 e2d2 | cdec A4 | G2B2 BGBG | F2A2 AFAF | dcde dBAG | F2D2D2 z2 :: 
 f2d2 f2d2 | fdfg a4 | ecAc ecAc | ecef g4 | f2d2 f2d2 | fdfg a4 |1 efec dedB | c2A2 A2Ad :|2 
 dcde dBAG | F2D2D2 z2 |]  