Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/16
M:2/4
K:G
['AGFG A4', 'A2 AGGF G2 A4 G2 BAGF GAFG']  
X:1
L:1/16
M:2/4
K:G
"D7" z2"A" |"G" D^CD2 B^AB2 | D^CD2 B^ABc |"D7" dccB BAAG |"G" GABc d^cd2 | |"G" D^CD2 B^AB2 | 
 D^DEF GABc |"D7" dBcA BGAF |"G" G6 ::"E7" z2"B" |"Am" AGFG A4 | AGFG A4 |"B7" BAAG GAFG | 
"Em" EFGA B6 | |"Am" AGFG A4 | AGFG A4 |"B7" BAAG GAFG |"Em" E6 :: B,2"C" |"Em" E2 z2 z2 B,2 | 
 E2F2 G2A2 |"Gm" A_BBA AGGF |"Gm" G4 z2 A2 | |"Gm" A_BBA"E7/G#" AGGF |"Am" G2 A4 G2 | 
"B7" BAGF GAFG |"Em" E6 :|  