Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
Q:1/8=120
M:6/8
K:A
['A2 A ABG A2 e efd c2', 'efg a2', 'EFG ABc cBA BGE DCB, A,CE AGA'  
X:1
L:1/8
Q:1/8=120
M:6/8
K:A
 A2 A ABG | A2 e efd | c2 d ecA | AGA BGE |"^5" A2 A ABG | A2 e efd | c2 d ecA | EFG A2 z || 
"^9" e2 e efg | a2 e fed | c2 d ecA | AGA BGE |"^13" e2 e efg | a2 a agf | e2 f ecA | EFG A2 z || 
"^17" A,CE AGA | BGE EFG | ABc cBA | BGE DCB, |"^21" A,CE AGA | Bcd dcB | e2 E EFG | A3 A2 z |]  