Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
M:4/4
K:G
['.G2 DC B,G,B,D ECFA', 'd2 gfga bgdB cBcd'  
X:1
L:1/8
M:4/4
K:G
 D2 | .G2 DC B,G,B,D | ECFA GFGA | BGFG .c2 .B2 | AGFG .A2 .D2 | .G2 DC B,G,B,D | ECFA GFGB | 
 BGcB AGFA | G2 G2 G2 :: d2 | gfga bgdB | cBcd edcB | ABcd edcB | .A2{^c} d2{^c} d2{^c} d2 | 
 gfga bgdB | cBcd .e2 .f2 | (gf).g.e (dB).G.c | (BG)(AF) G2 :|  