Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
M:2/2
K:D
['(e2 f)efa', 'D2 ([FA-]2'  
X:1
L:1/8
M:2/2
K:D
 (e2 | f)efa fede | (ef)ed BAcd | e2 ef edBc | dBAF D2 (e2 | f)efa f2 cd | (ef)ed BAcd | 
 eeef ed(Bc) | dBAF D2 :: ([FA-]2 | [AA]2) [AA]B A2 ([FA-]([GA-]) | [AA])BAG FDFG | 
 [AA]2 AB A2 fe | dBAF D2 ([FA-]2 | [AA])AAB A2 FG | ABAG FDB,C |"^*" A,2 EC EAfe | dBAF D2 :| 
"^Substitution""^*" A,ECE A,efe ||  