Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/8
Q:1/8=150
M:2/2
K:D
['edcB A2', 'edcB A2']  
X:1
L:1/8
Q:1/8=150
M:2/2
K:D
 (3ABc | dcdA FAdf | edcB A2 fg | afaf bagf | edcB A2 fe | dcdA FAdf | edcB A2 fg | afdf bgec | 
 d2 d2 d2 :| (3efg | a^gaf defa | babg e2 fg | afaf bagf | edcB A2 fe | dcdA FAdf | edcB A2 fg | 
 afdf bgec | d2 d2 d2 :|  