Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:2/4
K:D
['fA BA', 'ed BA', 'A3 B d3 e'  
X:1
L:1/8
M:2/4
K:D
|: fA BA | fA BA | d2 ef | ed BA | fA BA | fA BA | d d/d/ ef | ed d2 :: f3 d | ed BA | d d/d/ ef | 
 ed BA | f3 d | ed BA | d d/d/ ef | ed d2 :: A3 B | d3 e | f>a fd | e/f/e/d/ Bd | A3 B | d3 e | 
 fa fe | d>c d>B :|  