Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:4/4
K:D
['GE E2 GBdB A2', 'B/c/d ef'  
X:1
L:1/8
M:4/4
K:D
 A2 FA DAFA | GE E2 GBdB | A2 FA DAFA | GBAG FDD B | AF F2 DF F2 | GE E2 GBdB | A2 FD ADFA | 
 GBAG FDD B | A2 FA DAFA | GE E2 GBdB | A2 FA DAFA | GBAG FDD B | A2 dA eAdA | GE E2 GBdB | 
 A2 FD ADFA | GBAG FDD B || Addc [dD]2 ed | B/c/d ef gfed | c/B/A eA fAeA | B/c/d ef gfeg | 
 faea faea | fdec defg | af ge fdec | dBAG FDD B :|  