Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
Q:1/2=80
M:4/4
K:D
['TB>ABc d2', 'G2 g2 g/a/b af d2 cBce dB'  
X:1
L:1/8
Q:1/2=80
M:4/4
K:D
 TB>ABc d2 ge | dBBd cAAc | TB>ABc d2 g2 | f/g/agf g2 G2 |: g2 g/a/b af d2 | cBce dB G2 | 
 egfa gedc | BAGF G2 G,2"^*" :|  