Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
Q:1/4=140
M:2/2
K:D
['dAFD G2 (FE)', 'A2 AG/F/ GEDF', 'FDD B/c/ d>faf g2 (fe) d>faf ge-'  
X:1
L:1/8
Q:1/4=140
M:2/2
K:D
|: B/c/ | dAFD G2 (FE) | D>FAF GE- EB/c/ | dAFD G2 (FE) | A>cdA FD-D :: F/G/ | A2 AG/F/ GEDF | 
 A>BAF GE- EF/G/ | A2 AG/F/ GEDF | A>cdA FDD :: B/c/ | d>faf g2 (fe) | d>faf ge- ef/g/ | 
 afge f>dcB | B<GFE FDD :|  