legs of triangle
x
x+1
hypotenuse (always the longest side of a right triangle)
x+2
area of triangle = 1/2 * base * height (where base and height are two legs)
1/2(x)(x+1) = 6
(x)(x+1) = 12
x^2 + x = 12
x^2 +x - 12 = 0
(x+4)(x-3) = 0
x = -4 or 3
x can only equal 3
other leg = 4
hypotenuse = 5
perimeter = 12