Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/4
M:3/4
K:A
['a d =f =g/e/ =c B =c/e/']  
X:1
L:1/4
M:3/4
K:A
 a d =f | =g/e/ =c B | =c/e/ d d | =G A2 | B d e | =f/a/ =g d | =c/e/ =f d | B/=G/ A2 |]  