Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:4/4
K:D
['DFAF EDEF', '(3fga fd fagf'  
X:1
L:1/8
M:4/4
K:D
 (3dcB | AFdA (3Bcd AF | DFAF EDEF | AFAd BGBd | (3cBA Bc dcdB | Adcd BdAF | DFAF EDEF | 
 AFAc BGBd | (3cBA Bc defg || agfd (3fga fd | fagf e^def | gfga gbag | fedc defg | a2 fd (3fga fd | 
 fagf edef | g2 gf gbag | fedc d2 ||  