結果 : how to find length and width of a rectangle with diagonal