can solve terms with sqrt