Want to search or filter data in firebase

I want search ads from this screen under those condition .datas in firebase.how to code it .please help me

First Search the Community before Posting
There are tons of topics

I searched but not found similar answer