National Grid Interview Question

Write a program to find the final coordinates of a robot given its initial coordinates and a set steps.