Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
Q:1/4=120
M:3/8
K:Gmin
['d2 c d2 A/B/ cBA', 'GFG D2 G'  
X:1
L:1/8
Q:1/4=120
M:3/8
K:Gmin
 D | d2 c | d2 A/B/ | cBA | BGD | d2 c | d2 A/B/ | cBA | G2 :|[K:G] G | GFG | D2 G | F/G/Ad | BGD | 
 GFG | D2 G | F/G/AF | G2 :|  