Best approach for placement of CTA, search and filter option with the nav tab

enter image description here

What would be the good place for placing the search and the filter options in the page title section with the CTA button?

What if the search are placed in the right side of the menu options, below the CTA button?