A fruit seller in Nagpur has two flat triangular piles of oranges on his cart. Each pile has 1 orange in the top row and one more orange in each row below. One pile has 8 rows and the other has 9 rows. He rearranges all the oranges into one full square.
How many oranges are there along each side of the square? Show with a picture why the two piles make a square.

