One side of a right-angled triangle is f. The other two sides are 2 times bigger than f and 7 smaller than f. Write an expression for the perimeter of the triangle in its simplest form.