Develop musical compositions that maintain the outlined structure and integrate the provided motif
X:1
L:1/8
M:6/8
K:Gmin
['B2 B Bcd c2 A ABc', 'G2 d/=e/ f2 d d=e^f g2 d'  
X:1
L:1/8
M:6/8
K:Gmin
 d/c/ | B2 B Bcd | c2 A ABc | B2 G GAB | AFD DGA | B2 B Bcd | c2 A ABc | BAG AG^F | G3 G2 :| | 
 d/=e/ | f2 d d=e^f | g2 d dcA | G2 f f2 g | afd d2 =e | fga gf=e | f=ed cBA | GAB AG^F | G3 G2 :|  