Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:6/8
K:D
['D2 D B,A,D FDA BAd Gdd BAd', 'AFE FAB ADE FDE FDA, G,DD EDF'  
X:1
L:1/8
M:6/8
K:D
 D2 D B,A,D | FDA BAd | Gdd BAd | cAB AFE :| FAB ADE | FDE FDA, | G,DD EDF | GAB cAE :|  