BNP Paribas Interview Question

Derivation of maximum likelihood for an example