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
['DEGB AE E2', 'fddf g3 a (3bag eg fzag fdde'  
X:1
L:1/8
M:4/4
K:G
 G2 Bd gdBG | DEGB AE E2 | GABd gdBd | ecBc AGED | G2 (3Bcd gdBG | DEGB AE E2 | GABd gdBd | 
 ecAc BG G2 | fgag fddf | g3 a bgeg | fgag fddg | fdef g2 d2 | (3gab af g2 bg | faag fddg | 
 fded fd(3ddd | fdef gedB |[K:G] G2 Bd gdBG | DEGB AE E2 | G2 (3Bcd gdBd | ezAc BGGF | G2 Bd g3 G | 
 DEGB AE E2 | G2 (3Bcd gdBd | ecAc BG g2 || fzag fddf | g3 a (3bag eg | fzag fdde | gdef g3 z | 
 gbaf gbaf | gzag fdde | fded fded | cdef ged z ||  