If the difference in the side lengths of two squares is ten, and the sum of the side lengths is eighteen, what are the side lengths?