ball are arranged in rows to form an equilateral triangle .the firs row consists of one abll,the second of two balls,and so on.If 669 more balls are added,then all the balls canbe arranged in the shapeof a square and each of its sides then contains 8 ball less than each side of the triangle.determine the initial number of balls.