What is the perimeter of the right triangle with legs (2x + 1) feet and (4x – 4) feet and

What is the perimeter of the right triangle with legs (2x + 1) feet and (4x – 4) feet and hypotenuse (4x – 1) feet? Give your answer in terms of x in the simplest form.