Adjustable price calculation form

i need to solve following business requirement:
User gets a monthly premium (price in $) proposal based on his input of:
Term (for how long will be paying monthly premium – in years)
Sum assured (insured sum – in thousands…