def get_temp(start_to_end: str, end_to_start: str, end_to_end: str) ->(str, str
    ):
    """ Gets a temp values in the computation of the simple automaton regex """
    temp = 'epsilon'
    if (start_to_end != 'epsilon' or end_to_end != 'epsilon' or 
        end_to_start != 'epsilon'):
        temp = ''
    if start_to_end != 'epsilon':
        temp = start_to_end
    if end_to_end != 'epsilon':
        if temp:
            temp += '.' + end_to_end + '*'
        else:
            temp = end_to_end + '*'
    part1 = temp
    if not part1:
        part1 = 'epsilon'
    if end_to_start != 'epsilon':
        if temp:
            temp += '.' + end_to_start
        else:
            temp = end_to_start
    if not end_to_start:
        temp = ''
    return temp, part1
