Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
Q:1/4=80
M:3/4
K:D
['A,2 D>D E2 F>F F3 F EF']  
X:1
L:1/8
Q:1/4=80
M:3/4
K:D
|: A,2 |"D" D>D D2"A" E2 |"D" F>F F3 F |"A" EF G2 C2 |1 E2 D2 :|2 E2"D" D2 z A |"D" AF"G" B3 A | 
"A7" AG G3 G | GE A3 G |"D" GF F2"A7" A,2 |"D" D>D D2"A" E2 |"D" F>F F3 F |"A" EF G2"A7" C2 | 
 E2"D" D2 ||  