Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:4/4
K:G
['d2 edef gedc BGAB']  
X:1
L:1/8
M:4/4
K:G
"G" d2 d2"C" edef |"G" gedc BGAB |"C" A6 BG |"D7" A6 A2 |"G" d2 d2"C" edef |"G" gedc BGAB | 
"Am" dedc"D7" BG A2 |"G" G8 ::"G" B4 G4 |"C" ABAB"D7" c4 |"G" BABc dcdB |"A7" AGFE"D7" D4 | 
"G" B4 G4 |"C" ABAB"D7" c4 |"G" B2 B2"D7" AB A2 |"G" G2 B2 G4 :|  