Compose a piece of music based on the melodic structure provided.
'Compound Binary'  
X:1
L:1/8
M:2/2
K:G
"^A" |: DC |"G" B,DGA B2 DC | B,DGA"^(E7)" B2 AG |"D" FGAB cAFA |"G" GABc"D7" d2 DC | 
"G" B,DGA B2 DC | B,DGA"^(E7)" B2 AG |"D" FGAB cAFA |"D" GBAF"G" G2 :|"^B" |: Bd |"G" gddg ddgd | 
 Bcde"^(E7)" dBAG |"D" FGAB cAFA |"G" GABc"D7" d2 Bc |"G" gddg ddgd | Bcde"^(E7)" dBAG | 
"D" FGAB cAFA |"D" GBAF"G" G2 :|  