def compare_records(azara_record, rui_record):
    """

    :param azara_record: tuple - a (treasure, coordinate) pair.
    :param rui_record: tuple - a (location, coordinate, quadrant) trio.
    :return: bool - True if coordinates match, False otherwise.
    """
    azra_coords = azara_record[1]
    rui_x_coord = rui_record[1][0]
    rui_y_coord = rui_record[1][1]
    rui_coords = f"{rui_x_coord}{rui_y_coord}"
    return azra_coords == rui_coords