Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:4/4
K:D
['F D3 z4']  
X:1
L:1/8
M:4/4
K:D
 =c2 Ac-c c3 | =c2 cA c4 | z2 BA =cA BA | d2 BA-A DE D | =FD ED F D3 | z4 z2 AA | AG =FD F D3 | 
 z4 z AB A | =c2 cA cA G2- | G^G AA(A=G) (=F2 | E3) D- D2 z2 |]  