Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:2/2
K:D
['d2 (AF) DFAc dced', 'fdad fdad'  
X:1
L:1/8
M:2/2
K:D
 (3(ABc) | d2 (AF) DFAc | dced cAAc | BAGF GABc | dced cABc | d2 (AF) DFAc | dced cAGA | 
 BAGF GABc | dcec d2 || de | fdad fdad | fdad fddf | ecgc ecgc | ecgc ecce | fdad fdad | 
 fdad fddf | g2 (gf) gbag | fdec d2 |]  