Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:2/2
K:G
['ga b2 a2 af dB A2'  
X:1
L:1/8
M:2/2
K:G
"G" DEGA B2 d2 | edgd edBA |"Am" E(A A)B AGED | EGAB"D" A2 (D2 |"G" D)EGA Bdef | gfga gedB | 
"C" ABGA"Am" BGAG |1"D" E(G G)A"G" G4 :|2"D" E(G G)A"G" G2 |: ga |"G" b2 bg"D" a2 af | 
"C" gage"G" dB A2 |"Am" e(a a)(a a)b ag | (3efg ab"D" a2 ga |"G" b2 bg"D" a2 af | 
"C" gage"G" dB A2 |"C" ABGA"Am" BGAG |1"D" E(G G)A"G" G2 :|2"D" E(G G)A"G" G2 ||  