Pythagoras theorm questions

cupcake for u's image