{% set sectionId = feed.elementGroup[elementType].section %}
{% set entryTypeId = feed.elementGroup[elementType].entryType %}
{% if sectionId and entryTypeId %}
{% set section = craft.app.sections.getSectionById(sectionId) %}
{% set entryType = craft.app.sections.getEntryTypeById(entryTypeId) %}
{% if section and entryType %}
{{ section.name }}
{{ entryType.name }}
{% endif %}
{% endif %}