Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
Q:1/4=108
M:3/4
K:D
['', 'A A2 d>^c A>c e2 g>e f>f', '(a>g) e>g'  
X:1
L:1/8
Q:1/4=108
M:3/4
K:D
 A |: A2 d>^c A>c | e2 g>e f>f | f2 a>g e>g | f2 e4 :: e2 (a>g) e>g | f2 f>d e2 | e2 (a>g) e>g | 
 f2 f>d e>e | f2 (a>g) e>g | e2 d4 :|  