Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/8
M:2/4
K:D
['B3 c B2 A2 Bcde f4', 'f4 e2']  
X:1
L:1/8
M:2/4
K:D
 B3 c B2 A2 | Bcde f4 | e3 f e2 d2 | c2 A2 A3 e | B3 c B2 A2 | Bcde f4 | e2 a2 a2 ef | d2 B2 B4 :: 
 f4 B3 c | B2 f2 f4 | e2 f2 e2 d2 | c2 A2 A3 e |1 f4 B3 f | B2 f2 f4 | e2 a2 f2 ef | d2 B2 B4 :|2 
 B3 c B2 A2 | Bcde f4 | e2 a2 f2 ef | d2 B2 B4 |]  