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 coloured square is the right angle. If the largest side is 17 cm, then find the sum of the areas of the three squares.