def get_filtered_projects(projects,categories):
    """
    This function returns a filtered list of projects based on one or more passed in categories.

    Parameters:
        projects (list): a list of strings that represent project information.
        categories (list): list of categories used as filters

    Returns:
        list: A filtered list of tuples. Each tuple contains both project name and project goal
    """

    filtered_projects = []
    for project in projects[1:]:
        project = project.split(',')
        proj_type, proj_name, proj_goal = project
        for category in categories:
            if category.lower() in proj_type.lower():
                filtered_projects.append((proj_name, proj_goal))

    return filtered_projects