Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:4/4
K:D
['FE D2 (3FED ADFA dffe dBBd', 'g2 bg affe'  
X:1
L:1/8
M:4/4
K:D
 FE | D2 (3FED ADFA | dffe dBBd | AFFE DFAF | BFAF E2 FE | D2 (3FED ADFA | dffe dBBd | 
 AF (3FFF dFAF | EGFE D2 :| FA | dffe dfaf | g2 bg affe | dBBA FAde | fdgf e2 de | faaf g2 bg | 
 affe dBBd | AF (3FFF dFAF | EGFE D2 :|  