Construct tuneful phrases by integrating the assigned musical pattern and given theme.
X:1
L:1/16
Q:1/4=100
M:2/4
K:D
['A2d2c2d2 e2f2{d} c4', 'a2a2 bagf'  
X:1
L:1/16
Q:1/4=100
M:2/4
K:D
 A2d2c2d2 | e2f2{d} c4 | d4 (fe).d.e | f2d2 d4 | A2d2c2d2 | e2f2{d} c4 | d2>e2 (fe).d.e | f2d2d2 || 
 z2 | a2a2 bagf | g2g2g2 ag | f2gf e2d2 | cdBc A4 | a2a2 bagf | g2g2 agfe | fafd edef | 
 dafa d4"^Da Capo" ||  