Construct tuneful phrases by integrating the assigned musical pattern and given theme.
X:1
L:1/8
Q:3/8=124
M:6/8
K:D
['D2 A ABA B2 A B3 A2', 'B2 A'  
X:1
L:1/8
Q:3/8=124
M:6/8
K:D
|: D2 A ABA | B2 A B3 | A2 D DEF | E2 D D3 :: c2 d efg | fed e2 d | c2 d efg | fed edc | 
 B2 A B2 A | BdA B2 A | d2 D DEF | E2 D D2 :|  