Compose melodic phrases utilizing the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=232
M:4/4
K:D
['AG FE FG A2 GA BA Bc', 'BA Bc'  
X:1
L:1/8
Q:1/8=232
M:4/4
K:D
|: AG | FE FG A2 GA | BA Bc dc de | fd ec dB AF | B2 E2 E2 AG | FE FG A2 GA | BA Bc dc de | 
 fd ec dB AG | F2 D2 D2 :: g2 | fe fg af df | ec A2 A2 dc | BA Bc df ed | c2 A2 AB AG | 
 FG AB A2 GA | BA Bc dc de | fd ec dB AG | F2 D2 D2 :|  