Dassault Systèmes Interview Question

Explain in detail and prove pythagoras theorem