Compose music with the following musical form, using the given motif as a basis.
X:1
L:1/8
M:4/4
K:D
['D2 F>A', 'D2 (d>e) f>ef>g f>ed>c B>AB>c B2 (c>d)'  
X:1
L:1/8
M:4/4
K:D
 (F>E) | D2 F>A d>AF>D | (C>D)(E>F) G2 (F>E) | D2 F>A d>cd>f | (3(efe) (3(dcB) (3(ABA) (3(GFE) | 
 D2 F>A d>AF>D | (C>D)(E>F) G2 (F>G) | A>dc>B (3(ABA) (3(GFE) | D2 F2 D2 :: (d>e) | f>ef>g f>ed>c | 
 B>AB>c B2 (c>d) | e>de>f e>dc>B | (3(AAA) c>e a2 (3(ABc) | d>cd>e f>dA>F | G>FG>A B>dc>B | 
 A>dc>B (3(ABA) (3(GFE) | .D2 .F2 .D2 :|  