Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
M:4/4
K:D
['A3 F DFAF GFEF G2 FG', '(3Bcd ed cAAB'  
X:1
L:1/8
M:4/4
K:D
|: A3 F DFAF | GFEF G2 FG | AD D2 AD D2 | AFGE DEFG | A3 F DFAF | GFEF G2 FG | A3 d B3 d |1 
 cAGE DEFG :|2 cAGE ED D2 |: (3Bcd ed cAAB | cAdB cA A2 | (3Bcd ed cAAB | cAGE ED D2 | 
 (3Bcd ed cAAB | cAdB cAAe | f3 d e3 d |1 cAGE ED D2 :|2 cAGE DEFG ||  