cauchy goursat theorem for triangle