Show pricing with Conditional logic

Hi, is it possible to show a price to the user with conditional logic?

My requirement is to get some input from user via free text, and then show them pricing?

For example ask user to type Length (and Width)
If user types length <30 show $10
If length <30 and >50 show $15

Is this possible?
Thank you

This sounds like a good fit for GP Conditional Pricing:

And this snippet to show the original price:

Any questions, lemme know. :grin: