Generate music by following the outlined musical form presented using letters and incorporating the provided motif.
X:1
L:1/4
M:3/4
K:Eb
['B B']  
X:1
L:1/4
M:3/4
K:Eb
 B B B | B g e | e/d/ f A | A G z | B B B | B c/B/A/G/ | (3F/G/A/ G z B c _d | _d c e/c/ | B c _d | 
 _d c z | c =d e | e d f/d/ | c d e | e d z | f e/d/c/B/ | e2 c/A/ | G2 F | E z2 |]  