If one of the diagonals of a square is along he line and one of its vertices is (3, 0), then its side through this vertex nearer to the origin is given by the equation
The point (3, 0) does not lie on the diagonal . Let the equation of a side through the vertex (3, 0) be
Since the angle between a side and a diagonal of a square is we have
Thus the equation of a side through (3, 0) is
and the one nearer to the origin is