A halfcircle with r = 14 cm has a trapeze drawn inside it.

What is the largest possible perimeter of the trapeze (check the image).

I have to express the perimeter using only 1 variable (i was thinking c) and then derivate the perimeter and equal it to 0 to get the extremes..

how to express the perimeter using only c?