Create a composition based on the provided motif, following the specified musical structure.
X:1
L:1/8
M:4/4
K:D
['', 'd2 cB cdef g2 fe fafd'  
X:1
L:1/8
M:4/4
K:D
 AG |: FDFG d2 cB | cdef g2 fe | fafd efed | c2 A2 A2 AG | FDFA d2 cB | cdef g2 fe | fafd afec | 
 d2 d2 d2 fg :|  