Tavex (Romania) Interview Question

Maths and Logics, pretty basic stuff.