Problem solving in linear equation