Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
M:4/4
K:Bmin
['B3 c', 'dfaf bfaf dfaf (3ggg fg afef'  
X:1
L:1/8
M:4/4
K:Bmin
 B3 c dBAF | B3 c dfed | B3 c d3 B | ABde fded | B3 c dBAF | BABc dfed | BA A/A/A d2 Bd | 
 ABde fded || dfaf bfaf | dfaf (3ggg fg | afef d2 Bd | ABde fdec | dfaf bfaf | dfaf (3ggg fg | 
 afef dFBF | ABde fded ||  