Onfido interview question

how would you solve the problem given ?