Finding the length of a side of a non-right triangle