function len = m2(AR, D, g1, f1, r1)

[R1, S1, S2, d1, g2, a1l, a1r, w1] = common(AR, D, g1, f1);
len = 2 * S1 * R1 / (S1 + d1);

return;

