Construct tuneful phrases by integrating the assigned musical pattern and given theme.
X:1
L:1/8
M:2/2
K:Amix
['A>B A>G A2 Bd e2 e>d B3', 'A4 A2 AG A2 Bd e2 e>B'  
X:1
L:1/8
M:2/2
K:Amix
|: A>B A>G A2 Bd | e2 e>d B3 e | (dB) (AG) A2 GE | (G>B) A>G E3 E | G>A G>F G2 AB | 
 d>e (d/e/d/B/) d2 ef | (ge) (dB) G2 A>B | e>d B>A A4 :: A2 AG A2 Bd | e2 e>B d2 ef | 
 g2 g>e (dB) (AG) | a2 ga b2 ag | g>f e>d B/B/B/B/ Be | A/A/A/A/ Ad G/G/G/G/ GB | 
 (ge) (dB) G2 (AB) | (ed)(BA) A4 :|  