Combining Multiple Relation I am trying to accomplish targeting but wondering if there is a way to combine these two? I took a look around and in the Craft 3 docs but I am a bit turned around on this, really would appreciate some help with it.

{% set parts = craft.categories.group('part').slug( urlSlug2 ) %}
{% set models = craft.categories.group('model').slug( urlSlug3 ) %}

{% set entries1 = craft.entries.section('flightcompany').relatedTo({
    targetElement: parts, 
    field: 'partsModels.part' 
}).limit(5).all() %}

{% set entries2 = craft.entries.section('flightcompany').relatedTo({
    targetElement: models, 
    field: 'partsModels.model' 
}).limit(5).all() %}
You might have seen Passing Multiple Relation Criteria  in the docs

{% set entries = craft.entries.section('flightcompany').relatedTo([
    'and',
    { targetElement: models, field: 'partsModels.model' },
    { targetElement: parts, field: 'partsModels.part' }
]).all() %}


You can as well take a look at the Db::parseParam the and|or syntax is the same for this field