How to label the sides of a right angled triangle