The sides of a right angled triangle are x,x+1 and x+2.find x,Am not gettin the right answer.

Being a right triangle, x^2 + (x + 1)^2 = (x + 2)^2.

Expanding and simplifying, yields x^2 -- 2x - 3 = 0.

Factoring or the quadratic equation will lead you to the smallest Pythagorean Triple triangle with sides of 3, 4 and 5.