how to differentiate whether the question belongs to quadratic equation or linear equation

Chunu Rawat's image