def merge_two_dictionaries(dict1, dict2):
    """
    Merge two dictionaries.

    Merge two dictionaries, return the result. Does not alter the input dictionaries. Note that the order matters if the input dictionaries contain identical keys: the values from the second one will show up in the merged result.

    Parameters
    ----------
    dict1: dictionary
        The first dictionary.

    dict2: dictionary
        The second dictionary. Note that the order matters if the input dictionaries contain identical keys: the values from the second one will show up in the merged result.

    Returns
    -------
    dictionary
        The merged, new dictionary.
    """
    new_dict = dict1.copy()
    new_dict.update(dict2)
    return new_dict
