Create a composition based on the provided motif, following the specified musical form.
X:1
L:1/8
M:2/2
K:D
['(A^G)AB (AF)DF (AB)df (gf)ed (gb)ag (fa)gf', '(gb)ag (fa)gf'  
X:1
L:1/8
M:2/2
K:D
 (dB) | (A^G)AB (AF)DF | (AB)df (gf)ed | (gb)ag (fa)gf | (e^d)ef (e=d)Bd | (A^G)AB (AF)DF | 
 (AB)df (gf)ed | (gb)ag (fa)gf | edfe d2 :: (3ABc | d2 fd (ad)fd | (bd)(bd) adfd | (gb)ag (fa)gf | 
 (ed)gf (ed)Bd | (A^G)AB (AF)DF | (AB)df (gf)ed | (gb)ag (fa)gf | edfe d2 :|  