In a triangle, if the sum of two sides is x and their product is y such that (x+z)(x−z)=y where z is the third side of triangle then the triangle is