PTC Interview Question

Geometry theorem to prove. C++ based questions