Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/8
M:4/4
K:D
['D2 A,>D F>DA>D d2 c>d B>dA>F', 'f2 d>f (3Adf a>g f>dA>d']  
X:1
L:1/8
M:4/4
K:D
 A, | D2 A,>D F>DA>D | d2 c>d B>dA>F | E2 B,>E G>Eg>f | (3efd (3cdB (3ABG (3FGE | D2 A,>D F>DA>D | 
 d2 c>d B>dA>F | G>B (3efg (3fed a>A | (3Adf a>c d2 d || g | f2 d>f (3Adf a>g | f>dA>d F>Ad>f | 
 g2 e>g (3Beg b>a | (3gab (3efg (3cde (3eag | f2 d>f (3Adf a>g | f>dA>d F>AD>F | 
 G>B (3efg (3fed (3afd | (3AFD A,>C D2 D ||  