Construct a musical composition using the provided motif and maintain the designated form.
X:1
L:1/8
M:4/4
K:G
['G2 BG dGBG ABcd cBAG Bdgd egdB', 'g2 dg'  
X:1
L:1/8
M:4/4
K:G
|: G2 BG dGBG | ABcd cBAG | Bdgd egdB | cBAG FADF | G2 BG dGBG | ABcd cBAG | Bdgd egdB | cAFA G4 :: 
 g2 dg Bgdg | g2 bg agef | g2 dg BgdB | cBAG FA D2 | g2 dg Bgdg | g2 bg agef | gfga gfed |1 
 egfa g4 :|  