1. The points of this 3-by-3 grid are equally spaced horizontally and vertically. How many different sets of three points of this grid can be the three vertices of an isosceles triangle?
2. Two triangles are considered the same if they have the same three side lengths. Find all possible values of P such that there is only 1 possible triangle with integer side lengths and perimeter P. Enter your answer as a comma-separated list.