áp dụng Pytago mà tính cho nó nhanh