If BC = 2x + 1, CD = 3x - 4 and BD = 22, find the value of x.

is this a right triangle?

which segment is the hypotenuse?