How can understanding quadratic equations help in real-life scenarios?