Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
Q:1/8=350
M:4/4
K:D
['B2 AB dBAd', 'a2 fd'  
X:1
L:1/8
Q:1/8=350
M:4/4
K:D
 B2 AB dBAd | BFAF DEFA | B2 AB dBAd | abag fddc | B2 AB dBAd | BFAF DEFA | B2 AB dBAd | 
 abag fddf || a2 fd ad (3dcd | adfd Be (3efe | a2 fd adfd | abag fddf | a2 fd ad (3dcd | 
 adfd Be (3efe | abaf efdB | ABde fedc ||  