Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:2/2
K:D
['A>FA>d B>GB>d A>FA>d', 'c>AB>c d>cd>e f2 e>f g>fg>e c>AB>c (3efe(3dcB'  
X:1
L:1/8
M:2/2
K:D
 (uF>.G) |"^4" A>FA>d B>GB>d |"^4" A>FA>d f2"^4" e>d | c>eg>f"^4" e>dc>d | (3efe(3dcB A2 F>G | 
"^4" A>FA>d B>GB>d | A>FA>d f2 e>d | c>eg>f e>dc>"^4"e | d2 f2 d2 :: (ue>.f) | g>fg>e c>AB>c | 
 d>cd>e f2 e>f | g>fg>e c>AB>c | (3efe(3dcB A2 F>G | A>FA>d B>GB>d | A>FA>d f2 e>d | 
 c>eg>f"^4" e>dc>e | d2 f2 d2 :|  