Banco Bradesco Interview Question

As de matemática.