Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
['G2 BG d2 Bd efge edBd ceAc', 'gfga bgdg'  
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
 D2 | G2 BG d2 Bd | efge edBd | ceAc BdGB | ABcA GFED | G2 BG d2 Bd | efge edBd | ceAc BdGB | 
 cAFA G2 || d2 | gfga bgdg | edef gdBd | gfga bgdg | edcB A2 Bd | gfga bgdg | edef gdBG | 
 DGBd gdBd | cAFA G4 |]  