Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:2/4
K:D
['A>B A>F', 'f>d g>e f>d c>B'  
X:1
L:1/8
M:2/4
K:D
 A>B A>F | D>F A>d | A>B A>F | G>F EF/E/ | D>E F>G | A>B c>d | e>d c>e | d2 d2 :| e | f>d g>e | 
 f>d c>B | A>d c>d | f>e ed/e/ | f>d g>e | f>d c>B | A>g e>c | d2 de :|  