Develop a musical piece that combines the given theme and letter-structured outline.
X:1
L:1/8
M:3/4
K:Bb
['e2 ed']  
X:1
L:1/8
M:3/4
K:Bb
 Bd f2 gc | eggf d2 | Bd f2 gc | e2 ed A2 | B3 FAc | e2 ed f2 | B2 BFAF | e2 ed A2 |]  