(1) If the second offense is such that, upon a first conviction, the offender could be punished by imprisonment for a term less than his or her natural life, then the sentence to imprisonment shall be for a determinate term not less than one (1) year more than the minimum sentence provided by law for a first conviction of the offense for which the defendant is being tried, and not more than the maximum sentence provided by law for this offense, unless the maximum sentence is less than the minimum sentence plus one (1) year, in which case the longer term shall govern;
(2) If the third offense is such that, upon a first conviction, the offender could be punished by imprisonment for a term less than his or her natural life, then the person shall be sentenced to imprisonment for a determinate term not less than three (3) years more than the minimum sentence provided by law for a first conviction of the offense for which the defendant is being tried, and not more than the maximum sentence provided by law for the offense, unless the maximum sentence is less than the minimum sentence plus three (3) years, in which case the longer term shall govern; and
(3)
(A) If the fourth or subsequent offense is such that, upon a first conviction, the offender could be punished by imprisonment for a term less than his or her natural life, then the person shall be sentenced to imprisonment for the fourth or subsequent offense for a determinate term not less than the maximum sentence provided by law for a first conviction of the offense for which the defendant is being tried, and not more than one and one-half (11/2) times the maximum sentence provided by law for a first conviction.
(B) However, any person convicted of a fourth or subsequent offense shall be sentenced to imprisonment for no less than five (5) years.