Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:6/8
K:D
['BGD GDG dBG DGD AFD FDF cAF', 'G2 BGG GAB cec B/c/dB AFD DE/F/G'  
X:1
L:1/8
M:6/8
K:D
 BGD GDG | dBG DGD | AFD FDF | cAF DF/G/A | BGD GBG | dBG B/c/dG | AFd cAF | GAG G2 :| BGG GAB | 
 cec B/c/dB | AFD DE/F/G | AFd ABc | BGG GG/A/B | cee Bdd | AFd cAF | GB/A/G G2 :|  