Compose a piece incorporating the provided motif while adhering to the given musical structure.
X:1
L:1/8
Q:1/4=100
M:2/4
K:D
['FA B/>c/d/>B/', 'D A d>efd ecBA d>efd e2 A>A'  
X:1
L:1/8
Q:1/4=100
M:2/4
K:D
"_Allegro" D | FA d>B | AFED | FA B/>c/d/>B/ | A2 D>D | FA d>A | B/>c/d/>B/ AD | FA B/>c/d/>B/ | 
 A2 D :: A | d>efd | ecBA | d>efd | e2 A>A | d>efd | gf ed/>B/ | A>F d>B | A2 D :|  