Shopify interview question

Rover on a 2D plane - return coordinates