結果 : function of a rectangle