solving arithmetic problems with letters