Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
Q:1/4=112
M:2/4
K:D
['A Addd d2 df |{f} e>def d2']  
X:1
L:1/8
Q:1/4=112
M:2/4
K:D
"^Allegretto" A | Addd | d2 df |{f} e>def | d2 d>e | f>gfe | eddB | AFdF |{F} E2 A>G | F>GFE | 
 F>EFA | D>ED>F | AF F/<!fermata!d/ d/e/ | f>d e>c | d2 d>c | B2 B2 | BAFA | d2 DF | A2 A2 | 
 B>cdB | A>F D |]  