Base is y
Side lengths x
y+2=3•x
P=2x+y
2x+y=97
2x=97-y
x=97-y/2 plug that into
3x=y+2
3(97-y/2)=y+2 multiply by 2
3(97-y)=2(y+2)
292-3y=2y+4
-3y-2y=4-292 multiply by (-1)
5y=288
y=288/5
y=57.6
3x=y+2
3x=57.6+2
3x=59.6
x=19.86
97=2•19.86+57.6
97=39.72+57.6
97=97.32
This is the best I came up with.
Good luck