Valeo Interview Question

math equation needs to be solved