Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:6/8
K:D
['f a2 f d2 f edB A2', 'z2 e f2 f f2 d gab'  
X:1
L:1/8
M:6/8
K:D
 f | a2 f d2 f | edB A2 b | a2 g fge | d3 z2 :| e | f2 f f2 d | gab a2 g | fga agf | e3 fga :|  