The length of each side of a square is 3 in. more than the length of each side of a smaller square. The sum of the areas of the squares is 425 in^2. Find the lengths of the sides of the two squares.