Given ABCD is a trapezoid.Join the points A and C of the trapezoid together to form a diagonal of the trapezoid.Thus, Points A and C have coordinates (-a,0) and (b,c).
Using the distance formula on AC, we have
AC=
=
=
which is the required length of the diagonal of the trapezoid.