Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:6/8
K:D
['A A2 d dcd efe efg fed', 'd2) g fga agf efg gag fed'  
X:1
L:1/8
M:6/8
K:D
 A | A2 d dcd | efe efg | fed g2 f | Tf3 e2 A | A2 d dcd | efe efg | fed edc | (c3 d2) :: g | 
 fga agf | efg gag | fed d>gf | Tf3 e2 A | A2 d dcd | efe efg | fed edc | c3 d2 :|  