Develop a musical composition based on the specified form and using the given motif.
X:1
L:1/8
M:2/4
K:D
['f/g/f/e/ d>B AD FA GE', 'Af f/e/f Bg'  
X:1
L:1/8
M:2/4
K:D
 f/g/f/e/ d>B | AD FA | GE e>d | cB BA | f/g/f/e/ d>B | AD FA | GE e>f | ed d2 :| Af f/e/f | 
 Bg g/f/g | Af f/e/d | e/f/e/d/ BA | Af f/e/f | Bg g>a | ba gc | ed d2 :|  