The equations of the pairs of opposite sides of a rectangle are x2−7x+6=0 and y2−14y+40=0 the equation of the diagonal nearer the origin is
5x−6y+14=0
6x−5y+14=0
6x+5y−56=0
6x+5y−14=0
Vertices of the rectangle are A(1,4)B(6,4),C(6,10) and D(1, 10)
Equation of AC is 6x−5y+14=0
Equation of BD is 6x+5y−56=0
AC is nearer the origin.