Develop a musical composition based on the specified form and using the given motif.
X:1
L:1/8
M:4/4
K:D
['d2 AG FDDG', 'BBDB DAAD AADA g2 fd'  
X:1
L:1/8
M:4/4
K:D
|: d2 AG FDDG | FDAG FDDA | d2 AG FDDG |1 GAGF ED D2 :|2 GAGF EAce |: [Dd]AAD AADA | DBBD BBDB | 
 DAAD AADA | g2 fd B/c/def :|  