Compose melodic phrases utilizing the specified musical pattern and the provided motif.
X:1
L:1/4
M:4/4
K:D
['B A']  
X:1
L:1/4
M:4/4
K:D
 A3/2 B/ A G | F2 E2 | D E/ F/ G F | F4 | F A B A | d2 c B | A (G/ F/) G A | A4 |]  