IBM interview question

1. Pattern Based 2. Math - Income Tax related question 3. SQL query