結果 : formula to find length and width of rectangle