RMO 2008 Problem 6 Solution &#8211; Pythagoras Extended!