In how many ways can three points be selected from the grid below so that they form a right isosceles triangle?