Refer to the following figure. Three squares are constructed on each side of the triangle as shown, with the length of each square equal to the side of the triangle on which it is constructed. The angle opposite to the blue colour square is the right angle. If the largest side is 17 cm, then find the sum of the areas of the three squares.
578 cm2