find the number of sides of each of the two polygons if the total number of sides of the polygons is 15, and the sum of the number of diagonals of the polygons is 36.