Amazon interview question

The length from one coordinate to origin