Solve simple rational and radical equations in one variable