Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
M:3/4
K:G
['GBAcBd GBAG F2 GBAcBd', 'd2 Bdefgd Bdef g2 gdecBG cAGF'  
X:1
L:1/8
M:3/4
K:G
 GBAcBd | GBAG F2 | GBAcBd | dgfe d2 :: Bdefgd | Bdef g2 | gdecBG | cAGF G2 :|  