def from_task_key(key):
    """
    Retrieves the coordinates of a tasks given its corresponding key

    :param key: the key to use
    :return: x and y coordinates of the task
    """
    return key[0], key[1]