Pergunta de entrevista da empresa Revolut

How one would structure a certain transaction.