how do i enter a formula for the following in the one cell

show the lesser of (A1*2.95) or ((A1*1.50)+9.99))

Thanks in advance!