Philips interview question

Coordinate transformation