Shopify Interview Question

Rover on a 2D plane - return coordinates