RightTriangle and IntersectionProblem