Logistic function passing through two points?
I believe you're looking for constants $a$ and $b$ so that $f(x_\ell) = y_\ell$ and $f(x_u) = y_u$ where $f(x) = \exp(a + bx) / (1 + \exp(a + bx))$.
This is equivalent to the linear system $a + b x_\ell = g(y_\ell)$ and $a + b x_u = g(y_u)$ where $g(y) = f^{-1}(y) = \log(y/(1-y))$.