Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:4/4
K:D
['dB AFED E2']  
X:1
L:1/8
M:4/4
K:D
 DE | FE F<A D2 dB | AFED E2 EF | GABc dcB^A | B6 AG | FABc d2 dB | AFED E2 DE | F2 BA GFED | D6 ||  