Shopify Interview Question

Design robot movement in 2d space