you are right.
the formula can calculate the exactly selling price that 2 and 3 year lease will have same monthly payment, include the acq fee and MF factor.
Having the key price, LH calculator could possibly suggest a better lease period, choose between 36 or 24.