A right triangle ABC has to be constructed in the xy-plane so that the right angle is at A and AB is parallel to x axis. The coordiantes of A, B and C are to satisfy the inequalities -1 ≤ x ≤ 7 and 1 ≤ y ≤ 7. The numbers of different triangles that can be constructed with these properties are?
Note: A and C share the same x coordinate. A and B share the same y coordinate.
The x coordinates have 9 options (x = -1,0,1,2,3,4,5,6,7) pick 2: 1 for point B, and 1 for point A and C. 9P2
The y coordinates have 7 options (y= 1,2,3,4,5,6,7) pick 2: 1 for point A and B, and 1 for point C. 7P2
Number of triangles w/ A as the right angle = 9P2 * 7P2 = 3024