For this case, the first thing we must do is define a variable.
We have then:
x: shorter side length, odd number.
We now write the equation for the perimeter of the trig:

From here, we clear the value of x.
We have then:

Then, the length of the longest side is:
Answer:
The length of the longest side is 33 inches.