The angle of rotation of the axes so that the equation ax+by+c=0 may be reduced to X=p is
tan−1a+tan−1b, where a>0,b>0,ab>1, is equal to