Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:2/4
K:D
['', 'AD FA dc AB =c>B cG', 'Ad/e/ fd ef gf/g/ ag fd e>d'  
X:1
L:1/8
M:2/4
K:D
 F/G/ |: AD FA | dc AB | =c>B cG | EF GF/G/ | AD FA | dc AB | =c>B cG |1 ED DF/G/ :|2 ED D2 || 
 fd ed | cA Ad/e/ | fd ef | gf/g/ ag | fd e>d | cA AB | c/B/A GE |1 D2 D>e :|2 D2 DF/G/ ||  