Develop a musical composition by incorporating the suggested motif and by following the prescribed format.
X:1
L:1/8
M:6/8
K:Dmix
['', 'DGA B2 d cBG ABc', 'gfd g2 a bag fga g2 (f'  
X:1
L:1/8
M:6/8
K:Dmix
 D |: DGA B2 d | cBG ABc | dBd cAc | BGB AFD | DGA B2 d | cBG ABc | dfa gdc |1 AGF G2 F :|2 
 AGF GBd |: dga bag | fga gfd | g2 a bag | fga g2 (f | g)dB GBd | cBG ABc | dfa gdc |1 AGF GBd :|2 
 AGF G2 ||  