How to calculate premium of insurance