Solving equations in real-life scenarios