Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:4/4
K:D
['defe dcBA', '(3DED AF', 'abaf abaf'  
X:1
L:1/8
M:4/4
K:D
 defe dcBA | GFdF E2 E2 | defe dcBA | BdAF D2 D2 :| (3DED AF (3DED AF | (3EFE BG (3EFE BG | 
 (3DED AF (3DED AF | BdAF D2 D2 :| abaf abaf | gebe gebe | abaf abaf | geaf d2 d2 :|  