Transcom WorldWide interview question

Had to do a logic and math test.