Uber interview question

write out logistic regression using equations