simplifying radicals & pythagorean theorem