205 is the width of the rim and tire
40 is the sidewall height
17 is the inside diameter of the tire in inches, so like you got a 17" rim, then that number needs to be 17 since thats the size of your tire.
you should go with 215/45/17 if you plan on 17" rims. For 18's, 225/40/18