def distance_helper(initial_velocity, acceleration, time):
    """
    Calculates the distance traveled given the initial velocity, acceleration, and time, Helper function to the distance
    function.
    
    :param initial_velocity: Integer initial velocity
    :param acceleration: Integer acceleration
    :param time: Integer time
    
    :return: Integer distance traveled
    """
    
    dist = initial_velocity * time + 0.5 * (acceleration * time ** 2)
    return dist