As the picture highlights, the opposite sides have the same lengths. The perimeter is the sum of all lengths, so we have

Plug the required value for the perimeter and expand the right hand side:

Simplify the right hand side:

Add 36 to both sides:

Divide both sides by 12:

Now that we know the value for s, let's deduce the lengths of the sides:

