Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:4/4
K:D
['', '(3ABA FA DAFA', 'f2 fg fedc Bggf g2 gf edcB'  
X:1
L:1/8
M:4/4
K:D
 de |: fedf edcB | (3ABA FA DAFA | B2 GB EBGB | (3ABA FA DAFA | fedf edcB | (3ABA FA DAFA | 
 BGed cABc | eddc d2 de :: f2 fg fedc | Bggf g2 gf | edcB ABce | baag abag | f2 fg fedc | 
 Bggf g2 gf | edcB ABcd | eddc d2 de :|  