Impact Analytics interview question

Derive logistic regression equation