Develop a musical composition based on the specified form and using the given motif.
X:1
L:1/8
Q:1/2=100
M:2/2
K:D
['f2 Tfd f2', 'ag f2 fd (gf)ed |1 cABc defg'  
X:1
L:1/8
Q:1/2=100
M:2/2
K:D
|: f2 Tfd f2 Tfd | f2 fd (cd)eg | f2 (fd) gf.e.d | cABc defg ::{g} a2 af b2 ba |{f} g2 ge a2 ag | 
 f2 fd (gf)ed |1 cABc defg :|2 cABc .d2 .d2 ||  