Using the provided motif, produce a musical composition that follows the prescribed musical form.
X:1
L:1/4
M:3/4
K:D
['uA (d2 e) (f2 b) (a2 f)', '(a2 f) (f2'  
X:1
L:1/4
M:3/4
K:D
 uA | (d2 e) | (f2 b) | (a2 f) | (f2 d) | (e2 c) | (A2 d) | (f2 e) | e2 uA | (d2 e) | (f2 b) | 
 (a2 f) | (f2 d) | (B d2) | (f2 e) | e3 | d2 |] ua | (a2 f) | (f2 b) | (a2 f) | (f2 d) | (e2 c) | 
 (A2 d) | (f2 e) | (e2 A) | (d2 e) | (f2 b) | (a2 f) | (f2 d) | (B d2) | 
 (f2"_D.C. to Allegro." e) | e3 | d2 |]  