Zend certified PHP/Magento developer

Magento 2: How to add filter in custom graphql?

I have created a module with graphql schema where I will get the custom collection. Now I need to add a filter based on a few fields so I referred to this blog but I need to use 2 fields in the filter logic. Need your guidance on this.

Any help will be appreciated. Thanks!