Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
Q:1/2=120
M:2/2
K:D
['fg a2']  
X:1
L:1/8
Q:1/2=120
M:2/2
K:D
|:"^A" A2 |"D" DFAF B2 AF | DFAF B2 AF |"D" DFAF B2 AF |"A7" A c2 A c2 B2 |"A7" ABcA BcBA | 
 ABcA BcBA |"A7" ABcd egfe |"D" d6 :|"^B" fg |"D" a2 ab afdB | A2 A2 A2 fg |"D" a2 a2 g2 f2 | 
"G" B6 ef |"Em" gfef gfed |"A7" c2 A2 c2 cA |"Em" B2 B2"A7" A2 G2 |"D" F6"A7" fg |"D" a2 ab afdB | 
 A2 A2 A2 fg |"D7" a2 a2 g2 f2 |"G" B6 ga |"G" b2 b2 bafg |"D" a2 ab afdB |"A7" ABcd egfe | 
"D" d6 |:[K:G]"^C" GA |"G" B2 B2 BGAB |"C" cBcd c2 de |"D7" f2 f2 fdef |"G" gfga g2 GA | 
"Em" B2 B2 BGAB |"Am" cBcd c2 de |"D7" f2 f2 fdef |1"G" gfga g2 :|2"G" g8 |]  