Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/4
M:2/4
K:D
['f/g/f/e/ d3/2 B/ A D F A', 'A f f/e/ f']  
X:1
L:1/4
M:2/4
K:D
 f/g/f/e/ d3/2 B/ | A D F A | G E e3/2 f/ | e d B/A/ | f/g/f/e/ d3/2 B/ | A D F A | G E e3/2 f/ | 
 e d d2 :: A f f/e/ f | B g g/f/ g | A f f/e/ f | e/f/e/d/ B A | A f f/e/ f | B g g a | b a g c | 
 e d d :|  