Task: Question Answering
Input (English): Problem: a right triangle aec has to be constructed in the xy - plane so that the right angle is at a and ae is parallel to x axis . the coordinates of a , e and c are integers and satisfy the inequalities - 1 ≤ x ≤ 7 and 1 ≤ y ≤ 7 . how many different triangles can be constructed with these properties ? 
Options: a ) 63 , b ) 336 , c ) 567 , d ) 3024 , e ) 5040
Output (English): d