Compose melodic phrases utilizing the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=140
M:4/4
K:Dmin
['A2 ^GA =G2 F2 EFGA D4 DEFG', 'A2 FA BFAB'  
X:1
L:1/8
Q:1/8=140
M:4/4
K:Dmin
|: A2 ^GA =G2 F2 | EFGA D4 | DEFG A2 GA | c2 B2 A4 | A2 ^GA =G2 F2 | EFGA D4 | DEFG A2 GF | 
 EDEF D4 :: A2 FA BFAB | A2 FA BFAB | E2 EA BEAB | E2 EA BEAB | A2 FA BFAB | A2 FA BFAB | 
 ABAG FGFE | DEFE D4 :|  