Develop melodic sequences using the assigned musical pattern and provided motif.
X:1
L:1/8
Q:1/2=80
M:2/2
K:D
['d A d2 A Bdeg fedB', 'f>efg aeeg'  
X:1
L:1/8
Q:1/2=80
M:2/2
K:D
 d | A d2 A Bdeg | fedB A3 A || g | f>efg aeeg | f>efg a2 eg | f>efg aeeg | f>edB A2 A |]  