Here is the solution:
Yuo have asked for the condition for which the diagonals
are perpendicular to each other.
Since the diagonals have to be perpendicular to each
other so the given quadrilateral has to be a "Rhombus".
For Rhombus only one condition can be applied that is :
"The opposite sides of Rhombus are parallel and distance
between two pairs of parallel sides in a Rhombus are '='.
Therefore,
l (c'-c)/(a2+b2)1/2 l = l (c'-c)/(a'2+b'2)1/2
Now on solving you will get the equation for the condition
for diagonals to be perpendicular as:-
a2+b2=a'2+b'2
Hope you find it useful.
plZ rate me for my efforts.
Cheers!!!!!!!!!!!!!!