Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
Q:1/8=150
M:4/4
K:D
['DA,FD AFdA Bged cbag fedc', 'd2 fg a^gaf dfa=g bagf eAce (3gfe'  
X:1
L:1/8
Q:1/8=150
M:4/4
K:D
 FE | DA,FD AFdA | Bged cbag | fedc Bged | (3cdc (3BcB AGFE | DA,FD AFdA | Bged cbag | 
 fedc BA (3Bcd | (3efe dc d2 :| fg | a^gaf dfa=g | bagf eAce | (3gfe fd Bdef | (3gag (3fgf e2 fe | 
 (3dcd (3edc dDFA | Bged cbag | fedc BA (3Bcd | (3efe dc d2 :|  