Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:2/4
K:D
['fd ge fd cB'  
X:1
L:1/8
M:2/4
K:D
"D" A>B AF | DF Ad | A>B AF |"A" GF EF/E/ |"D" DE FG | AB cd |"A" e>d ce |1"D" d2 dB :|2 
"D" d2 de |]:"D" fd ge | fd cB | Ad cd |"A" fe ed/e/ |"D" fd ge | fd cB |"A" Ag ec |1"D" d2 d>e :|2 
"D" d2 dB |]  