結果 : how to calculate rectangular coordinates