A triangle has side lengths of (9f+g) centimeters, (5f+9h)centimeters, and (2h+7g) centimeters. Which expression represents the perimeter, in centimeters, of the triangle?