Develop a musical composition by incorporating the suggested motif and by following the prescribed format.
X:1
L:1/8
M:4/4
K:G
['A2 A2', 'G2 AB c2 cd e2 fg dBAG'  
X:1
L:1/8
M:4/4
K:G
 d2 c2 | BGAB GE (3DEG | A2 A2 A2 dc | BGAB GFED | E2 G2 G2 :: AB | c2 cd e2 fg | dBAG A2 GA | 
 BdAB GFED | E2 A2 A2 dc | BGAB GEDE | GGG :|  