Finding the length of the third side