Saudi Payments interview question

Solve puzzles and simple math questions