The area of a square is 14 times as large as the area of a triangle. One side of the triangle is 7 inches long, and the altitude to that side is the same length as a side of the square. Find the length of a side of the square. Also find the areas of both figures, and be sure that your answer checks.