A pentagon has 3 congruent sides and 2 other congruent sides. The perimeter of the pentagon is 36 centimeters. The three long congruent sides are 2 centimeters longer than the two shorter congruent sides.

Let x = length of a short side
Let y = length of a long side

The system of equations can be used to represent the situation.

y = x + 2
2x + 3y = 36

What is the length of one of the shorter congruent sides?