Using the Pythagoras theorem

welcome to shbcf.ru