Point72 interview question

Write a function that computes some values related to geometry.