In Advent of Code, we often need to deal with different types of coordinate systems.
This one page explainer has a good illustration on how to navigate hexagonals:
If hexagon is north-south instead of east-west like in picture, rotate one rotation to left (so x axis becomes level)
How to calculate the next coordinate in Python: