Problem solving and equations