The side of a certain square is 3 feet longer than that of another square. The sum of the areas is 117 square feet. Find the dimensions of the original square.