Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
Q:1/8=112
M:4/4
K:D
['d2 cd'  
X:1
L:1/8
Q:1/8=112
M:4/4
K:D
|:"A7" FE |"D" D2 d2"^/F#" d2 cd |"A" ecAc"D" d2 de |"D" fdfd"A7/E" gege | 
"D/F#" af"E/G#"df"A" e2 (FE) |"D" D2 d2"G" d2 cd |"A" ecAc"Bm" d2 cd |"E7/G#" efed"E" cBA^G | 
"A" A2 A2"A" A2 ::"A7" fg |"D" agfe"^/F#" dedc |"G" .B2 .G2"^/B" .G2"^/F#" ga | 
"Em" bagf"E/G#" efed |"A" .c2 .A2"A" .A2"^/G" fg |"D/F#" afaf"G" gbgb |"D/F#" afaf"Em7" gbgb | 
"D/F#" af"G" bg"A" fedc |"D" d2 d2"D" d2 :|  