The height of the square pyramid is 12cm, the side length difference between the two bottom surfaces is 10cm, and the total area is 512cm2

The height of the square pyramid is 12cm, the side length difference between the two bottom surfaces is 10cm, and the total area is 512cm2

Let the side length of the upper bottom be a cm and the side length of the lower bottom be a + 10 cm
Floor area: A ^ 2, floor area: (a + 10) ^ 2
Four isosceles trapezoids are formed on the side, the length of the upper base is a, the length of the lower base is 10 + A, and the height is the root sign (12 ^ 2 + [(a + 10-A) / 2] ^ 2) = 13
So 512 = a ^ 2 + (a + 10) ^ 2 + 2 * (10 + 2a) * 13 gives a = 2 or a = - 38 (rounding off)
Therefore, the length of the upper bottom side is 2cm, and the length of the lower bottom side is 12cm