Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
Q:1/4=100
M:4/4
K:D
['E3 D E2 F2 D3']  
X:1
L:1/8
Q:1/4=100
M:4/4
K:D
 A,2 |"D" D3 D D2 F2 |"A" E3 D E2 F2 |"D" D3 D F2 A2 |"G" B6 | B2 |"D" A3 F F2 D2 |"A" E3 D E2 F2 | 
"G" D3 B, B,2 A,2 |"D" D6 ||  