Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
M:4/4
K:D
['f>ed>B A2 F2 G>FG>A B4 g>fe>d c>AB>c', 'B2 B2 e4 g>fe>d c>AB>c'  
X:1
L:1/8
M:4/4
K:D
 f>ed>B A2 F2 | G>FG>A B4 | g>fe>d c>AB>c | e2 A2 A4 | f>ed>B A2 F2 | G>FG>A B4 | g>fe>d c>AB>c | 
 e2 d2 d4 || A2 A2 d3 c | B2 B2 e4 | g>fe>d c>AB>c | e>dc>B A>GF>G | A2 A2 d2 d>c | B2 B2 e4 | 
 g>fe>d c>AB>c | e2 d2 d4 ||  