The longest side is opposite of the angle with the highest value which is 90 degrees. The 30 degrees has the opposite side with the value of half the length of the 90 degree angle. Therefore, if the longest side is 20cm, then the shortest side is 10.