Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
M:2/2
K:D
['A2 GBAG GBAG'  
X:1
L:1/8
M:2/2
K:D
|: A2 |"D" dAFA"G" GBAG |"D" FAFA"G" GBAG |"D" FDFD"A7" GEGE |"D" FDFD"A7" E2 A2 | 
"D" dAFA"G" GBAG |"D" FAFA"G" GBAG |"D" FGAB"A7" cdec |"D" d2 d2 d2 :: cd |"A7" ecAc ecge | 
"D" fdAd fdgf |"A7" ecAc ecgf |"E7" edcB"A7" A2 GA |"G" BGDG BGdB |"D" AFDF AFdA | 
"G" BdcB"A7" AGFE |"D" D2 D2 D2 :|  