Construct tuneful phrases by integrating the assigned musical pattern and given theme.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['d2 Bc', 'g2 d^cdB GABG ABcd eE E2 d^cdB'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
[K:G] d2 Bc dgfe | fgab afeg | d2 Bc dgfg | a2 fa ag g2 :| d^cdB GABG | ABcd eE E2 | d^cdB GA B2 | 
 ceaf ag g2 :|  