How to find the length of diagonal in parallelogram?