Formulate melodies by integrating the designated musical pattern and the supplied motif.
X:1
L:1/4
M:4/4
K:C
['A d']  
X:1
L:1/4
M:4/4
K:C
 D/D/ | F D F G | (A3/2 G/) F G/G/ | A d (2:3:2A15 .A15 .B15 .c15 | .d3 | A | d d c A | 
 G/ F3/2 D D/D/ | F/ (G F/) D C | D4 |]  