how to solve surds and indices problems