Create a composition based on the provided motif, following the specified musical structure.
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
['G A2', 'd2 e f2 d e2'  
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
 DED F2 G | A2 d AFD | G2 A B2 G | A2 G FED | DED F2 G | A2 d AFD | G2 A B2 G | AFD D3 :: 
 d2 e f2 d | e2 a gec | d2 e f2 d | e2 d cBA | d2 e f2 d | e2 a gec |"^NB" d2 A B2 G | AFD D3 :|  