Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:4/4
K:D
['FG ABAF DFAF G2 Bd efed c2', 'A,B,CD EF (3GFE'  
X:1
L:1/8
M:4/4
K:D
 FG |:"D" ABAF DFAF |"G" G2 Bd efed |"A7" c2 EF GFEF |"D" DEFG"A7" AB A2 |"D" ABAF DFAF | 
"G" G2 Bd efed |"A7" c2 EF GFEF |1"D" D6 FG :|2"D" D6 ^D2 |:"A" E2 EF E2 EF | EFAB c4 | 
"E7" cd B2 BA^GB |1"A" ABcd e2 z2 :|2"A" A2 ^G2 =G2 FG |:"D" Adcd FGAB |"A" A G2 F G4 |1 
"A" A,B,CD EF (3GFE |"D" DFAd fdAF :|2"A" A,B,CD EF (3GFE |"D" D6 z2 ||  