結果 : solve for x in the triangle