Using the provided motif, produce a musical composition that follows the prescribed musical form.
X:1
L:1/8
M:4/4
K:D
['B2 A2', 'afaa gega fdfa e2 A2'  
X:1
L:1/8
M:4/4
K:D
|: dfed B2 B2 | A2 A2 d4 | e2 e2 f2 f2 | efed B2 A2 | dfed B2 B2 | A2 A2 d4 | (3ABc dd BA A2 | 
 F2 E2 D4 :: afaa gega | fdfa e2 A2 | d2 d2 e2 e2 | f2 d2 e2 fg | afaa gega | fdfa e2 A2 | 
 (3ABc dd BA A2 | F2 E2 D4 :|  