Giesecke+Devrient interview question

How do you solve and test this specific problem?