Problem-solving with equations