You can just make the sides of the triangle 3x, 5x, and 6x, where x is the scaling factor that will bring the total up to 98.
Then, simply add and solve for x:
3x+5x+6x=98
14x=98
x=7
Your shortest side is the 3x, so its length would be 3*7 or 21.