You put in 1.5M and make sure the contract length is three years and it will total 4.5MM.
In the contract section it is expressed per year ( both salary and bonus) and the number of years you make the contract will automatically multiply it for the total contract amount.