Independent solution (source diagram/values checked; not a quotation of PDF workings):
On the given dot grid, C is 6 grid intervals right and 3 down from A. Mark X 3 grid intervals left and 6 down from A, then join A to X and X to C. This is a quarter-turn of the displacement from A to C, so AX is perpendicular to AC and has the same length. Thus the right angle is at A. This is a manual drawing solution, not a numeric auto-answer.