Insurers use information about you, your coverage needs, and potential risk factors to determine your premiums. Here’s how the calculations work and how you can save.