How to set criteria-based pricing for different customers?

Can anyone point in the right direction? I’m looking to set pricing based of criteria a potential customer inputs.

For example,

Customer 1 selects New York as their state and Sales Manager as their job title return Price $100.

Customer 2 selects New York as their state and Customer Success Manager as their job title return Price $90.

Thanks!