Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
Q:1/4=140
M:4/4
K:D
['D2 FA'  
X:1
L:1/8
Q:1/4=140
M:4/4
K:D
 FE |"D" D2 FA D2 FA | dfed"G" BcdB |"D" A3 B AFDE |"Bm" FD ED"G" B,D A,B, |"D" D2 FA D2 FA | 
 dfed"G" BcdB |"D" A3 B AFDE |"A7" F2"D" D2 D2 :: AB |"D" d3 c defg | afbf afed | 
"Em" efed BA (3Bcd |"Bm" fded"G" BdAB |"D" d3 c defg | afbf afed |"Em" efed BA (3dcB | 
"A7" AFEF"D" D2 :|  