Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:4/4
K:A
['f3 e', 'A6 e2 (e2 e>)a (a2 a>)g g2'  
X:1
L:1/8
M:4/4
K:A
 A>B | c3 c c2 B2 | c e3 e2 a2 | f3 e f2 a2 | f3 e e2 A>B | c3 c c2 B2 | c e3 f3 e | e c3 B3 c | 
 A6 :: e2 | (e2 e>)a (a2 a>)g | g2 f2 f2 a2 | e3 f fedc | (c2 c)d/>c/ B2 A>B | c3 c c2 B2 | 
 c e3 f3 e | e c3 B3 c | A6 :|  