Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/8
Q:1/4=140
M:4/4
K:D
['d2 fd', 'FDD B AFFA B2 Bd AFFA']  
X:1
L:1/8
Q:1/4=140
M:4/4
K:D
 A | d2 fd Adfd | (e/f/g) fe dBBc | d2 fd (e/f/g) fe | dBAG FDD :| B | AFFA B2 Bd | AFFA BE E2 | 
 AFFA Bdce | dBAG FDD B | AFFA B2 Bd | AFFA BEEF | GBAc Bdce | f!wedge!dec dDD!D.C.! |]  