Create a composition based on the provided motif, following the specified musical structure.
X:1
L:1/8
M:4/4
K:D
['d d', 'B d A F'  
X:1
L:1/8
M:4/4
K:D
 A d d d c d e g | f d d A F2 A2 | B c d B c d e g | f d d A F2 A2 || B d A F =c2 E2 | 
 FD A2 F2 A A | B d A F G F E2 | FD A2 F2 A2 ||  