Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['dB AFDA, DA,FA,', 'D2 AG FADF AFdF GBEG BGed cecf'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
 dB | AFDA, DA,FA, | EA,GA, BABc | dcdA FdFD | E2 [CE]2 [CE]2 dB | AFDA, DA,FA, | EA,GA BABc | 
 dBBG | FDEC | D2 D2 D2 :: AG | FADF AFdF | GBEG BGed | cecf gfga | gfed dcBA | FADF GBEG | 
 FADE CEA,G | FADc dfec | d2 d2 d2 :|  